home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / mail / delivery / sendmail.002 / sendmail / sendmail-8.7.3-bin / RELEASE_NOTES < prev    next >
Encoding:
Text File  |  1995-12-10  |  191.5 KB  |  4,029 lines

  1.             SENDMAIL RELEASE NOTES
  2.          @(#)RELEASE_NOTES    8.7.3.1 (Berkeley) 12/3/95
  3.  
  4.  
  5. This listing shows the version of the sendmail binary, the version
  6. of the sendmail configuration files, the date of release, and a
  7. summary of the changes in that release.
  8.  
  9. 8.7.3/8.7.3    95/12/xx
  10.     Fix botch in name server timeout in RCPT code; this problem caused
  11.         two responses in SMTP, which breaks things horribly.  Fix
  12.         from Gregory Neil Shapiro of WPI.
  13.     Verify that L= value on M lines cannot be negative, which could cause
  14.         negative array subscripting.  Not a security problem since
  15.         this has to be in the config file, but it could have caused
  16.         core dumps.  Pointed out by Bryan Costales.
  17.     Fix -d21 debug output for long macro names.  Pointed out by Bryan
  18.         Costales.
  19.     PORTABILITY FIXES:
  20.         SCO doesn't have ftruncate.  From Bill Aten of Computerizers.
  21.         IBM's version of arpa/nameser.h defaults to the wrong byte
  22.             order.  Tweak it to work properly.  Based on fixes
  23.             from Fletcher Mattox of UTexas and Betty Lee of
  24.             Stanford University.
  25.     CONFIG: add confHOSTS_FILE m4 variable to set HostsFile option.
  26.         Deficiency pointed out by Bryan Costales of ICSI.
  27.  
  28. 8.7.2/8.7.2    95/11/19
  29.     REALLY fix the backslash escapes in SmtpGreetingMessage,
  30.         OperatorChars, and UnixFromLine options.  They were not
  31.         properly repaired in 8.7.1.
  32.     Completely delete the Bcc: header if and only if there are other
  33.         valid recipient headers (To:, Cc: or Apparently-To:, the
  34.         last being a historic botch, of course).  If Bcc: is the
  35.         only recipient header in the message, it's value is tossed,
  36.         but the header name is kept.  The old behaviour (always keep
  37.         the header name and toss the value) allowed primary recipients
  38.         to see that a Bcc: went to _someone_.
  39.     Include queue id on ``Authentication-Warning: <host>: <user> set
  40.         sender to <addresss> using -f'' syslog messages.  Suggested
  41.         by Kari Hurtta.
  42.     If a sequence or switch map lookup entry gets a tempfail but then
  43.         continues on to another map type, but the name is not found,
  44.         return a temporary failure from the sequence or switch map.
  45.         For example, if hosts search ``dns files'' and DNS fails
  46.         with a tempfail, the hosts map will go on and search files,
  47.         but if it fails the whole thing should be a tempfail, not
  48.         a permanent (host unknown) failure, even though that is the
  49.         failure in the hosts.files map.  This error caused hard
  50.         bounces when it should have requeued.
  51.     Aliases to files such as /users/bar/foo/inbox, with /users/bar/foo
  52.         owned by bar mode 700 and inbox being setuid bar stopped
  53.         working properly due to excessive paranoia.  Pointed out by
  54.         John Hawkinson of Panix.
  55.     An SMTP RCPT command referencing a host that gave a nameserver
  56.         timeout would return a 451 command (8.6 accepted it and
  57.         queued it locally).  Revert to the 8.6 behaviour in order
  58.         to simplify queue management for clustered systems.  Suggested
  59.         by Gregory Neil Shapiro of WPI.  The same problem could break
  60.         MH, which assumes that the SMTP session will succeed (tsk, tsk
  61.         -- mail gets lost!); this was pointe dout by Stuart Pook of
  62.         Infobiogen.
  63.     Fix possible buffer overflow in munchstring().  This was not a security
  64.         problem because you couldn't specify any argument to this
  65.         without first giving up root privileges, but it is still a
  66.         good idea to avoid future problems.  Problem noted by John
  67.         Hawkinson and Sam Hartman of MIT.
  68.     ``452 Out of disk space for temp file'' messages weren't being
  69.         printed.  Fix from David Perlin of Nanosoft.
  70.     Don't advertise the ESMTP DSN extension if the SendMIMEErrors option
  71.         is not set, since this is required to get the actual DSNs
  72.         created.  Problem pointed out by John Gardiner Myers of CMU.
  73.     Log permission problems that cause .forward and :include: files to
  74.         be untrusted or ignored on log level 12 and higher.  Suggestted
  75.         by Randy Martin of Clemson University.
  76.     Allow user ids in U= clauses of M lines to have hyphens and
  77.         underscores.
  78.     Fix overcounting of recipients -- only happened when sending to an
  79.         alias.  Pointed out by Mark Andrews of SGI and Jack Woolley
  80.         of Systems and Computer Technology Corporation.
  81.     If a message is sent to an address that fails, the error message that
  82.         is returned could show some extraneous "success" information
  83.         included even if the user did not request success notification,
  84.         which was confusing.  Pointed out by Allan Johannesen of WPI.
  85.     Config files that had no AliasFile definition were defaulting to
  86.         using /etc/aliases; this caused problems with nullclient
  87.         configurations.  Change it back to the 8.6 semantics of
  88.         having no local alias file unless it is declared.  Problem
  89.         noted by Charles Karney of Princeton University.
  90.     Fix compile problem if NOTUNIX is defined.  Pointed out by Bryan
  91.         Costales of ICSI.
  92.     Map lookups of class "userdb" maps were always case sensitive; they
  93.         should be controlled by the -f flag like other maps.  Pointed
  94.         out by Bjart Kvarme <bjart.kvarme@usit.uio.no>.
  95.     Fix problem that caused some addresses to be passed through ruleset 5
  96.         even when they were tagged as "sticky" by prefixing the
  97.         address with an "@".  Patch from Thomas Dwyer III of Michigan
  98.         Technological University.
  99.     When converting a message to Quoted-Printable, prevent any lines with
  100.         dots alone on a line by themselves.  This is because of the
  101.         preponderence of broken mailers that still get this wrong.
  102.         Code contributed by Per Hedeland of Ericsson.
  103.     Fix F{macro}/file construct -- it previously did nothing.  Pointed
  104.         out by Bjart Kvarme of USIT/UiO (Norway).
  105.     Announce whether a cached connection is SMTP or ESMTP (in -v mode).
  106.         Requested by Allan Johannesen.
  107.     Delete check for text format of alias files -- it should be legal
  108.         to have the database format of the alias files without the
  109.         text version.  Problem pointed out by Joe Rhett of Navigist,
  110.         Inc.
  111.     If "Ot" was specified with no value, the TZ variable was not properly
  112.         imported from the environment.  Pointed out by Frank Crawford
  113.         <frank@ansto.gov.au>.
  114.     Some architectures core dumped on "program" maps that didn't have
  115.         extra arguments.  Patch from Booker C. Bense of Stanford
  116.         University.
  117.     Queue run processes would re-spawn daemons when given a SIGHUP; only
  118.         the parent should do this.  Fix from Brian Coan of the
  119.         Association for Progressive Communications.
  120.     If MinQueueAge was set and a message was considered but not run
  121.         during a queue run and the Timeout.queuereturn interval was
  122.         reached, a "timed out" error message would be returned that
  123.         didn't include the failed address (and claimed to be a warning
  124.         even though it was fatal).  The fix is to not return such
  125.         messages until they are actually tried, i.e., in the next
  126.         MinQueueAge interval.  Problem noted by Rein Tollevik of
  127.         SINTEF RUNIT, Oslo.
  128.     Add HES_GETMAILHOST compile flag to support MIT Hesiod distributions
  129.         that have the hes_getmailhost() routine.  DEC Hesiod
  130.         distributions do not have this routine.  Based on a patch
  131.         from Betty Lee of Stanford University.
  132.     Extensive cleanups to map open code to handle a locking race condition
  133.         in ndbm, hash, and btree format database files on some (most
  134.         non-4.4-BSD based) OS architectures.  This should solve the
  135.         occassional "user unknown" problem during alias rebuilds that
  136.         has plagued me for quite some time.  Based on a patch from
  137.         Thomas Dwyer III of Michigan Technological University.
  138.     PORTABILITY FIXES:
  139.         Solaris: Change location of newaliases and mailq from
  140.             /usr/ucb to /usr/bin to match Sun settings.  From
  141.             James B. Davis of TCI.
  142.         DomainOS: Makefile.DomainOS doesn't require -ldbm.  From
  143.             Don Lewis of Silicon Systems.
  144.         HP-UX 10: rename Makefile.HP-UX.10 => Makefile.HP-UX.10.x
  145.             so that the makesendmail script will find it.  Pointed
  146.             out by Richard Allen of the University of Iceland.
  147.             Also, use -Aa -D_HPUX_SOURCE instead of -Ae, which
  148.             isn't supported on all compilers.
  149.         UXPDS: compilation fixes from Diego R. Lopez.
  150.     CONFIG: FAX mailer wasn't setting .FAX as a pseudo-domain unless
  151.         you also had a FAX_RELAY.  From Thomas.Tornblom@Hax.SE.
  152.     CONFIG: Minor glitch in S21 -- attachment of local domain name
  153.         didn't have trailing dot.  From Jim Hickstein of Teradyne.
  154.     CONFIG: Fix best_mx_is_local feature to allow nested addresses such as
  155.         user%host@thishost.  From Claude Scarpelli of Infobiogen
  156.         (France).
  157.     CONFIG: OSTYPE(hpux10) failed to define the location of the help file.
  158.         Pointed out by Hannu Martikka of Nokia Telecommunications.
  159.     CONFIG: Diagnose some inappropriate ordering in configuration files,
  160.         such as FEATURE(smrsh) listed after MAILER(local).  Based on
  161.         a bug report submitted by Paul Hoffman of Proper Publishing.
  162.     CONFIG: Make OSTYPE files consistently not override settings that
  163.         have already been set.  Previously it worked differently
  164.         for different files.
  165.     CONFIG: Change relay mailer to do masquerading like 8.6 did.  My take
  166.         is that this is wrong, but the change was causing problems
  167.         for some people.  From Per Hedeland of Ericsson.
  168.     CONTRIB: bitdomain.c patch from John Gardiner Myers <jgm+@CMU.EDU>;
  169.         portability changes for Posix environments (no functional
  170.         changes).
  171.  
  172. 8.7.1/8.7.1    95/10/01
  173.     Old macros that have become options (SmtpGreetingMessage,
  174.         OperatorChars, and UnixFromLine) didn't allow backslash
  175.         escapes in the options, where they previously had.  Bug
  176.         pointed out by John Hawkinson of MIT.
  177.     Fix strange case of an executable called by a program map that
  178.         returns a value but also a non-zero exit status; this
  179.         would give contradictory results in the higher level; in
  180.         particular, the default clause in the map lookup would be
  181.         ignored.  Change to ignore the value if the program returns
  182.         non-zero exit status.  From Tom Moore of AT&T GIS.
  183.     Shorten parameters passed to syslog() in some contexts to avoid a
  184.         bug in many vendors' implementations of that routine.  Although
  185.         this isn't really a bug in sendmail per se, and my solution
  186.         has to assume that syslog() has at least a 1K buffer size
  187.         internally (I know some vendors have shortened this
  188.         dramatically -- they're on their own), sendmail is a popular
  189.         target.  Also, limit the size of %s arguments in sprintf.
  190.         These both have possible security implications.  Solutions
  191.         suggested by Casper Dik of Sun's Network Security Group
  192.         (Holland), Mark Seiden, and others.
  193.     Fix a problem that might cause a non-standard -B (body type)
  194.         parameter to be passed to the next server with undefined
  195.         results.  This could have security implications.
  196.     If a filesystem was at > 100% utilization, the freediskspace()
  197.         routine incorrectly returned an error rather than zero.
  198.         Problem noted by G. Paul Ziemba of Alantec.
  199.     Change MX sort order so that local hostnames (those in $=w) always
  200.         sort first within a given preference.  This forces the bestmx
  201.         map to always return the local host first, if it is included
  202.         in the list of highest priority MX records.  From K. Robert
  203.         Elz.
  204.     Avoid some possible null pointer dereferences.  Fixes from Randy
  205.         Martin <WOLF@CLEMSON.EDU>
  206.     When sendmail starts up on systems that have no fully qualified
  207.         domain name (FQDN) anywhere in the first matching host map
  208.         (e.g., /etc/hosts if the hosts service searches "files dns"),
  209.         sendmail would sleep to try to find a FQDN, which it really
  210.         really needs.  This has been changed to fall through to the
  211.         next map type if it can't find a FQDN -- i.e., if the hosts
  212.         file doesn't have a FQDN, it will try dns even though the
  213.         short name was found in /etc/hosts.  This is probably a crock,
  214.         but many people have hosts files without FQDNs.  Remember:
  215.         domain names are your friends.
  216.     Log a high-priority message if you can't find your FQDN during startup.
  217.         Suggested by Simon Barnes of Schlumberger Limited.
  218.     When using Hesiod, initialize it early to improve error reporting.
  219.         Patch from Don Lewis of Silicon Systems, Inc.
  220.     Apparently at least some versions of Linux have a 90 !minute! TCP
  221.         connection timeout in the kernel.  Add a new "connect" timeout
  222.         to limit this time.  Defaults to zero (use whatever the
  223.         kernel provides).  Based on code contributed by J.R. Oldroyd
  224.         of TerraNet.
  225.     Under some circumstances, a failed message would not be properly
  226.         removed from the queue, causing tons of bogus error messages.
  227.         (This fix eliminates the problematic EF_KEEPQUEUE flag.)
  228.         Problem noted by Allan E Johannesen and Gregory Neil Shapiro
  229.         of WPI.
  230.     PORTABILITY FIXES:
  231.         On IRIX 5.x, there was an inconsistency in the setting
  232.             of sendmail.st location.  Change the Makefile to
  233.             install it in /var/sendmail.st to match the OSTYPE
  234.             file and SGI standards.  From Andre
  235.             <andre@curry.zfe.siemens.de>.
  236.         Support for Fujitsu/ICL UXP/DS (For the DS/90 Series)
  237.             from Diego R. Lopez <drlopez@cica.es>.
  238.         Linux compilation patches from J.R. Oldroyd of TerraNet, Inc.
  239.         LUNA 2 Mach patches from Motonori Nakamura.
  240.         SunOS Makefile was including -ldbm, which is for the old
  241.             dbm library.  The ndbm library is part of libc.
  242.     CONFIG: avoid bouncing ``user@host.'' (note trailing dot) with
  243.         ``local configuration error'' in nullclient configuration.
  244.         Patch from Gregory Neil Shapiro of WPI.
  245.     CONFIG: don't allow an alias file in nullclient configurations --
  246.         since all addresses are relayed, they give errors during
  247.         rebuild.  Suggested by Per Hedeland of Ericsson.
  248.     CONFIG: local mailer on Solaris 2 should always get a -f flag because
  249.         otherwise the F=S causes the From_ line to imply that root is
  250.         the sender.  Problem pointed out by Claude Scarpelli of
  251.         Infobiogen (France).
  252.     NEW FILES:
  253.         cf/feature/use_ct_file.m4 (omitted from 8.7 by mistake)
  254.         src/Makefiles/Makefile.KSR (omitted from 8.7 by mistake)
  255.         src/Makefiles/Makefile.UXPDS
  256.  
  257. 8.7/8.7        95/09/16
  258.     Fix a problem that could cause sendmail to run out of file
  259.         descriptors due to a trashed data structure after a
  260.         vfork.  Fix from Brian Coan of the Institute for
  261.         Global Communications.
  262.     Change the VRFY response if you have disabled VRFY -- some
  263.         people seemed to think that it was too rude.
  264.     Avoid reference to uninitialized file descriptor if HASFLOCK
  265.         was not defined.  This was used "safely" in the sense
  266.         that it only did a stat, but it would have set the
  267.         map modification time improperly.  Problem pointed out
  268.         by Roy Mongiovi of Georgia Tech.
  269.     Clean up the Subject: line on warning messages and return
  270.         receipts so that they don't say "Returned mail:"; this
  271.         can be confusing.
  272.     Move ruleset entry/exit debugging from 21.2 to 21.1 -- this is
  273.         useful enough to make it worthwhile printing on "-d".
  274.     Avoid logging alias statistics every time you read the alias
  275.         file on systems with no database method compiled in.
  276.     If you have a name with a trailing dot, and you try looking it
  277.         up using gethostbyname without the dot (for /etc/hosts
  278.         compatibility), be sure to turn off RES_DEFNAMES and
  279.         RES_DNSRCH to avoid finding the wrong name accidently.
  280.         Problem noted by Charles Amos of the University of
  281.         Maryland.
  282.     Don't do timeouts in collect if you are not running SMTP.
  283.         There is nothing that says you can't have a long
  284.         running program piped into sendmail (possibly via
  285.         /bin/mail, which just execs sendmail).  Problem reported
  286.         by Don "Truck" Lewis of Silicon Systems.
  287.     Try gethostbyname() even if the DNS lookup fails iff option I
  288.         is not set.  This allows you to have hosts listed in
  289.         NIS or /etc/hosts that are not known to DNS.  It's normally
  290.         a bad idea, but can be useful on firewall machines.  This
  291.         should really be broken out on a separate flag, I suppose.
  292.     Avoid compile warnings against BIND 4.9.3, which uses function
  293.         prototypes.  From Don Lewis of Silicon Systems.
  294.     Avoid possible incorrect diagnosis of DNS-related errors caused
  295.         by things like attempts to resolve uucp names using
  296.         $[ ... $] -- the fix is to clear h_errno at appropriate
  297.         times.  From Kyle Jones of UUNET.
  298.     SECURITY: avoid denial-of-service attacks possible by destroying
  299.         the alias database file by setting resource limits low.
  300.         This involves adding two new compile-time options:
  301.         HASSETRLIMIT (indicating that setrlimit(2) support is
  302.         available) and HASULIMIT (indicating that ulimit(2) support
  303.         is available -- the Release 3 form is used).  The former
  304.         is assumed on BSD-based systems, the latter on System
  305.         V-based systems.  Attack noted by Phil Brandenberger of
  306.         Swarthmore University.
  307.     New syntaxes in test (-bt) mode:
  308.         ``.Dmvalue'' will define macro "m" to "value".
  309.         ``.Ccvalue'' will add "value" to class "c".
  310.         ``=Sruleset'' will dump the contents of the indicated
  311.             ruleset.
  312.         ``=M'' will display the known mailers.
  313.         ``-ddebug-spec'' is equivalent to the command-line
  314.             -d debug flag.
  315.         ``$m'' will print the value of macro $m.
  316.         ``$=c'' will print the contents of class $=c.
  317.         ``/mx host'' returns the MX records for ``host''.
  318.         ``/parse address'' will parse address, returning the value of
  319.             crackaddr (essentially, the comment information)
  320.             and the parsed address (the same as -bv).
  321.         ``/try mailer address'' will rewrite address into the form
  322.             it will have when presented to the indicated mailer.
  323.         ``/tryflags flags'' will set flags used by parsing.  The
  324.             flags can be `H' for header or `E' for envelope,
  325.             and `S' for sender or `R' for recipient.  These
  326.             can be combined, so `HR' sets flags for header
  327.             recipients.
  328.         ``/canon hostname'' will try to canonify hostname and
  329.             return the result.
  330.         ``/map mapname key'' will look up `key' in the indicated
  331.             `mapname' and return the result.
  332.     Somewhat better handling of UNIX-domain socket addresses -- it
  333.         should show the pathname rather than hex bytes.
  334.     Restore ``-ba'' mode -- this reads a file from stdin and parses
  335.         the header for envelope sender information and uses
  336.         CR-LF as message terminators.  It was thought to be
  337.         obsolete (used only for Arpanet NCP protocols), but it
  338.         turns out that the UK ``Grey Book'' protocols require
  339.         that functionality.
  340.     Fix a fix in previous release -- if gethostname and gethostbyname
  341.         return a name without dots, and if an attempt to canonify
  342.         that name fails, wait one minute and try again.  This can
  343.         result in an extra 60 second delay on startup if your system
  344.         hostname (as returned by hostname(1)) has no dot and no names
  345.         listed in /etc/hosts or your NIS map have a dot.
  346.     Check for proper domain name on HELO and EHLO commands per
  347.         RFC 1123 section 5.2.5.  Problem noted by Thomas Dwyer III
  348.         of Michigan Technological University.
  349.     Relax chownsafe rules slightly -- old version said that if you
  350.         can't tell if _POSIX_CHOWN_RESTRICTED is set (that is,
  351.         if fpathconf returned EINVAL or ENOSYS), assume that
  352.         chown is not safe.  The new version falls back to whether
  353.         you are on a BSD system or not.  This is important for
  354.         SunOS, which apparently always returns one of those
  355.         error codes.  This impacts whether you can mail to files
  356.         or not.
  357.     Syntax errors such as unbalanced parentheses in the configuration
  358.         file could be omitted if you had "Oem" prior to the
  359.         syntax error in the config file.  Change to always print
  360.         the error message.  It was especially wierd because it
  361.         would cause a "warning" message to be sent to the Postmaster
  362.         for every message sent (but with no transcript).  Problem
  363.         noted by Gregory Paris of Motorola.
  364.     Rewrite collect and putbody to handle full 8-bit data, including
  365.         zero bytes.  These changes are internally extensive, but
  366.         should have minimal impact on external function.
  367.     Allow full words for option names -- if the option letter is
  368.         (apparently) a space, then take the word following -- e.g.,
  369.             O MatchGECOS=TRUE
  370.         The full list of old and new names is as follows:
  371.             7    SevenBitInput
  372.             8    EightBitMode
  373.             A    AliasFile
  374.             a    AliasWait
  375.             B    BlankSub
  376.             b    MinFreeBlocks/MaxMessageSize
  377.             C    CheckpointInterval
  378.             c    HoldExpensive
  379.             D    AutoRebuildAliases
  380.             d    DeliveryMode
  381.             E    ErrorHeader
  382.             e    ErrorMode
  383.             f    SaveFromLine
  384.             F    TempFileMode
  385.             G    MatchGECOS
  386.             H    HelpFile
  387.             h    MaxHopCount
  388.             i    IgnoreDots
  389.             I    ResolverOptions
  390.             J    ForwardPath
  391.             j    SendMimeErrors
  392.             k    ConnectionCacheSize
  393.             K    ConnectionCacheTimeout
  394.             L    LogLevel
  395.             l    UseErrorsTo
  396.             m    MeToo
  397.             n    CheckAliases
  398.             O    DaemonPortOptions
  399.             o    OldStyleHeaders
  400.             P    PostmasterCopy
  401.             p    PrivacyOptions
  402.             Q    QueueDirectory
  403.             q    QueueFactor
  404.             R    DontPruneRoutes
  405.             r, T    Timeout
  406.             S    StatusFile
  407.             s    SuperSafe
  408.             t    TimeZoneSpec
  409.             u    DefaultUser
  410.             U    UserDatabaseSpec
  411.             V    FallbackMXhost
  412.             v    Verbose
  413.             w    TryNullMXList
  414.             x    QueueLA
  415.             X    RefuseLA
  416.             Y    ForkEachJob
  417.             y    RecipientFactor
  418.             z    ClassFactor
  419.             Z    RetryFactor
  420.         The old macros that passed information into sendmail have
  421.         been changed to options; those correspondences are:
  422.             $e    SmtpGreetingMessage
  423.             $l    UnixFromLine
  424.             $o    OperatorChars
  425.             $q    (deleted -- not necessary)
  426.         To avoid possible problems with an older sendmail,
  427.         configuration level 6 is accepted by this version of
  428.         sendmail; any config file using the new names should
  429.         specify "V6" in the configuration.
  430.     Change address parsing to properly note that a phrase before a
  431.         colon and a trailing semicolon are essentially the same
  432.         as text outside of angle brackets (i.e., sendmail should
  433.         treat them as comments).  This is to handle the
  434.         ``group name: addr1, addr2, ..., addrN;'' syntax (it will
  435.         assume that ``group name:'' is a comment on the first
  436.         address and the ``;'' is a comment on the last address).
  437.         This requires config file support to get right.  It does
  438.         understand that :: is NOT this syntax, and can be turned
  439.         off completely by setting the ColonOkInAddresses option.
  440.     Level 6 config files added with new mailer flags:
  441.             A    Addresses are aliasable.
  442.             i    Do udb rewriting on envelope as well as header
  443.             sender lines.  Applies to the from address mailer
  444.             flags rather than the recipient mailer flags.
  445.             j    Do udb rewriting on header recipient addresses.
  446.             Applies to the sender mailer flags rather than the
  447.             recipient mailer flags.
  448.             k    Disable check for loops when doing HELO command.
  449.             o    Always run as the mail recipient, even on local
  450.             delivery.
  451.             w    Check for an /etc/passwd entry for this user.
  452.             5    Pass addresses through ruleset 5.
  453.             :    Check for :include: on this address.
  454.             |    Check for |program on this address.
  455.             /    Check for /file on this address.
  456.             @    Look up sender header addresses in the user
  457.             database.  Applies to the mailer flags for the
  458.             mailer corresponding to the envelope sender
  459.             address, rather than to recipient mailer flags.
  460.         Pre-level 6 configuration files set A, w, 5, :, |, /, and @
  461.         on the "local" mailer, the o flag on the "prog" and "*file*"
  462.         mailers, and the ColonOkInAddresses option.
  463.     Eight-to-seven bit MIME conversions.  This borrows ideas from
  464.         John Beck of Hewlett-Packard, who generously contributed
  465.         their implementation to me, which I then didn't use (see
  466.         mime.c for an explanation of why).  This adds the
  467.         EightBitMode option (a.k.a. `8') and an F=8 mailer flag
  468.         to control handling of 8-bit data.  These have to cope with
  469.         two types of 8-bit data: unlabelled 8-bit data (that is,
  470.         8-bit data that is entered without declaring it as 8-bit
  471.         MIME -- technically this is illegal according to the
  472.         specs) and labelled 8-bit data (that is, it was declared
  473.         as 8BITMIME in the ESMTP session or by using the
  474.         -B8BITMIME command line flag).  If the F=8 mailer flag is
  475.         set then 8-bit data is sent to non-8BITMIME machines
  476.         instead of converting to 7 bit (essentially using
  477.         just-send-8 semantics).  The values for EightBitMode are:
  478.             m    convert unlabelled 8-bit input to 8BITMIME, and do
  479.             any necessary conversion of 8BITMIME to 7BIT
  480.             (essentially, the full MIME option).
  481.             p    pass unlabelled 8-bit input, but convert labelled
  482.             8BITMIME input to 7BIT as required (default).
  483.             s    strict adherence: reject unlabelled 8-bit input,
  484.             convert 8BITMIME to 7BIT as required.  The F=8
  485.             flag is ignored.
  486.         Unlabelled 8-bit data is rejected in mode `s' regardless of
  487.             the setting of F=8.
  488.     Add new internal class 'n', which is the set of MIME Content-Types
  489.         which can not be 8 to 7 bit encoded because of other
  490.         considerations.  Types "multipart/*" and "message/*" are
  491.         never directly encoded (although their components can be).
  492.     Add new internal class 's', which is the set of subtypes of the
  493.         MIME message/* content type that can be treated as though
  494.         they are an RFC822 message.  It is predefined to have
  495.         "rfc822".  Suggested By Kari Hurtta.
  496.     Add new internal class 'e'.  This is the set of MIME
  497.         Content-Transfer-Encodings that can be converted to
  498.         a seven bit format (Quoted-Printable or Base64).  It is
  499.         preinitialized to contain "7bit", "8bit", and "binary".
  500.     Add C=charset mailer parameter and the the DefaultCharSet option (no
  501.         short name) to set the default character set to use in the
  502.         Content-Type: header when doing encoding of an 8-bit message
  503.         which isn't marked as MIME into MIME format.  If the C=
  504.         parameter is set on the Envelope From address, use that as
  505.         the default encoding; else use the DefaultCharSet option.
  506.         If neither is set, it defaults to "unknown-8bit" as
  507.         suggested by RFC 1428 section 3.
  508.     Allow ``U=user:group'' field in mailer definition to set a default
  509.         user and group that a mailer will be executed as.  This
  510.         overrides the 'u' and 'g' options, and if the `F=S' flag is
  511.         also set, it is the uid/gid that will always be used (that
  512.         is, the controlling address is ignored).  The values may be
  513.         numeric or symbolic; if only a symbolic user is given (no
  514.         group) that user's default group in the passwd file is used
  515.         as the group.  Based on code donated by Chip Rosenthal of
  516.         Unicom.
  517.     Allow `u' option to also accept user:group as a value, in the same
  518.         fashion as the U= mailer option.
  519.     Add the symbolic time zone name in the Arpanet format dates (as
  520.         a comment).  This adds a new compile-time configuration
  521.         flag: TZ_TYPE can be set to TZ_TM_NAME (use the value
  522.         of (struct tm *)->tm_name), TZ_TM_ZONE (use the value
  523.         of (struct tm *)->tm_zone), TZ_TZNAME (use extern char
  524.         *tzname[(struct tm *)->tm_isdst]), TZ_TIMEZONE (use
  525.         timezone()), or TZ_NONE (don't include the comment).  Code
  526.         from Chip Rosenthal.
  527.     The "Timeout" option (formerly "r") is extended to allow suboptions.
  528.         For example,
  529.             O Timeout.helo = 2m
  530.         There are also two new suboptions "queuereturn" and
  531.         "queuewarn"; these subsume the old T option.  Thus, to
  532.         set them both the preferred new syntax is
  533.             O Timeout.queuereturn = 5d
  534.             O Timeout.queuewarn = 4h
  535.     Sort queue by host name instead of by message priority if the
  536.         QueueSortOrder option (no short name) is set is set to
  537.         ``host''.  This makes better use of the connection cache,
  538.         but may delay more ``interactive'' messages behind large
  539.         backlogs under some circumstances.  This is probably a
  540.         good option if you have high speed links or don't do lots
  541.         of ``batch'' messages, but less good if you are using
  542.         something like PPP on a 14.4 modem.  Based on code
  543.         contributed by Roy Mongiovi of Georgia Tech (my main
  544.         contribution was to make it configurable).
  545.     Save i-number of df file in qf file to simplify rebuilding of queue
  546.         after disasterous disk crash.  Suggested by Kyle Jones of
  547.         UUNET; closely based on code from KJS DECWRL code written
  548.         by Paul Vixie.  NOTA BENE: The qf files produced by 8.7
  549.         are NOT back compatible with 8.6 -- that is, you can convert
  550.         from 8.6 to 8.7, but not the other direction.
  551.     Add ``F=d'' mailer flag to disable all use of angle brackets in
  552.         route-addrs in envelopes; this is because in some cases
  553.         they can be sent to the shell, which interprets them as
  554.         I/O redirection.
  555.     Don't include error file (option E) with return-receipts; this
  556.         can be confusing.
  557.     Don't send "Warning: cannot send" messages to owner-* or
  558.         *-request addresses.  Suggested by Christophe Wolfhugel
  559.         of the Institut Pasteur, Paris.
  560.     Allow -O command line flag to set long form options.
  561.     Add "MinQueueAge" option to set the minimum time between attempts
  562.         to run the queue.  For example, if the queue interval
  563.         (-q value) is five minutes, but the minimum queue age
  564.         is fifteen minutes, jobs won't be tried more often than
  565.         once every fifteen minutes.  This can be used to give
  566.         you more responsiveness if your delivery mode is set to
  567.         queue-only.
  568.     Allow "fileopen" timeout (default: 60 seconds) for opening
  569.         :include: and .forward files.
  570.     Add "-k", "-v", and "-z" flags to map definitions; these set the
  571.         key field name, the value field name, and the field
  572.         delimiter.  The field delimiter can be a single character
  573.         or the sequence "\t" or "\n" for tab or newline.
  574.         These are for use by NIS+ and similar access methods.
  575.     Change maps to always strip quotes before lookups; the -q flag
  576.         turns off this behaviour.  Suggested by Motonori Nakamura.
  577.     Add "nisplus" map class.  Takes -k and -v flags to choose the
  578.         key and value field names respectively.  Code donated by
  579.         Sun Microsystems.
  580.     Add "hesiod" map class.  The "file name" is used as the
  581.         "HesiodNameType" parameter to hes_resolve(3).  Returns the
  582.         first value found for the match.  Code donated by Scott
  583.         Hutton of Indiana University.
  584.     Add "netinfo" (NeXT NetInfo) map class.  Maps can have a -k flag to
  585.         specify the name of the property that is searched as the
  586.         key and a -v flag to specify the name of the property that
  587.         is returned as the value (defaults to "members").  The
  588.         default map is "/aliases".  Some code based on code
  589.         contributed by Robert La Ferla of Hot Software.
  590.     Add "text" map class.  This does slow, linear searches through
  591.         text files.  The -z flag specifies a column delimiter
  592.         (defaults to any sequence of white space), the -k flag
  593.         sets the key column number, and the -v flag sets the
  594.         value column number.  Lines beginning with `#' are treated
  595.         as comments.
  596.     Add "program" map class to execute arbitrary programs.  The search
  597.         key is presented as the last argument; the output is one
  598.         line read from the programs standard output.  Exit statuses
  599.         are from sysexits.h.
  600.     Add "sequence" map class -- searches maps in sequence until it
  601.         finds a match.  For example, the declarations:
  602.             Kmap1 ...
  603.             Kmap2 ...
  604.             Kmapseq sequence map1 map2
  605.         defines a map "mapseq" that first searches map1; if the
  606.         value is found it is returned immediately, otherwise
  607.         map2 is searched and the value returned.
  608.     Add "switch" map class.  This is much like "sequence" except that
  609.         the ordering is fetched from an external file, usually
  610.         the system service switch.  The parameter is the name of
  611.         the service to switch on, and the maps that it will use
  612.         are the name of the switch map followed by ".service_type".
  613.         For example, if the declaration of the map is
  614.             Ksample switch hosts
  615.         and the system service switch specifies that hosts are
  616.         looked up using dns and nis in that order, then this is
  617.         equivalent to
  618.             Ksample sequence sample.dns sample.nis
  619.         The subordinate maps (sample.*) must already be defined.
  620.     Add "user" map class -- looks up users using getpwnam.  Takes a
  621.         "-v field" flag on the definition that tells what passwd
  622.         entry to return -- legal values are name, passwd, uid, gid,
  623.         gecos, dir, and shell.  Generally expected to be used with
  624.         the -m (matchonly) flag.
  625.     Add "bestmx" map class -- returns the best MX value for the host
  626.         listed as the value.  If there are several "best" MX records
  627.         for this host, one will be chosen at random.
  628.     Add "userdb" map class -- looks up entries in the user database.
  629.         The "file name" is actually the tag that will be used,
  630.         typically "mailname".  If there are multiple entries
  631.         matching the name, the one chosen is undefined.
  632.     Add multiple queue timeouts (both return and warning).  These are
  633.         set by the Precedence: or Priority: header fields to one of
  634.         three values.  If a Priority: is set and has value "normal",
  635.         "urgent", or "non-urgent" the corresponding timeouts are 
  636.         used.  If no priority is set, the Precedence: is consulted;
  637.         if negative, non-urgent timeouts are used; if greater than
  638.         zero, urgent timeouts are used.  Otherwise, normal timeouts
  639.         are used.  The timeouts are set by setting the six timeouts
  640.         queue{warn,return}.{urgent,normal,non-urgent}.
  641.     Fix problem when a mail address is resolved to a $#error mailer
  642.         with a temporary failure indication; it works in SMTP,
  643.         but when delivering locally the mail is silently discarded.
  644.         This patch, from Kyle Jones of UUNET, bounces it instead
  645.         of queueing it (queueing is very hard).
  646.     When using /etc/hosts or NIS-style lookups, don't assume that
  647.         the first name in the list is the best one -- instead,
  648.         search for the first one with a dot.  For example, if
  649.         an /etc/hosts entry reads
  650.             128.32.149.68    mammoth mammoth.CS.Berkeley.EDU
  651.         this change will use the second name as the canonical
  652.         machine name instead of the initial, unqualified name.
  653.     Change dequote map to replace spaces in quoted text with a value
  654.         indicated by the -s flag on the dequote map definition.
  655.         For example, ``Mdequote dequote -s_'' will change
  656.         "Foo Bar" into an unquoted Foo_Bar instead of leaving it
  657.         quoted (because of the space character).  Suggested by Dan
  658.         Oscarsson for use in X.400 addresses.
  659.     Implement long macro names as ${name}; long class names can
  660.         be similarly referenced as $={name} and $~{name}.
  661.         Definitions are (e.g.) ``D{name}value''.  Names that have
  662.         a leading lower case letter or punctuation characters are
  663.         reserved for internal use by sendmail; i.e., config files
  664.         should use names that begin with a capital letter.  Based
  665.         on code contributed by Dan Oscarsson.
  666.     Fix core dump if getgrgid returns a null group list (as opposed
  667.         to an empty group list, that is, a pointer to a list
  668.         with no members).  Fix from Andrew Chang of Sun Microsystems.
  669.     Fix possible core dump if malloc fails -- if the malloc in xalloc
  670.         failed, it called syserr which called newstr which called
  671.         xalloc....  The newstr is now avoided for "panic" messages.
  672.         Reported by Stuart Kemp of James Cook University.
  673.     Improve connection cache timeouts; previously, they were not even
  674.         checked if you were delivering to anything other than an
  675.         IPC-connected host, so a series of (say) local mail
  676.         deliveries could cause cached connections to be open
  677.         much longer than the specified timeout.
  678.     If an incoming message exceeds the maximum message size, stop
  679.         writing the incoming bytes to the queue data file, since
  680.         this can fill your mqueue partition -- this is a possible
  681.         denial-of-service attack.
  682.     Don't reject all numeric local user names unless HESIOD is
  683.         defined.  It turns out that Posix allows all-numeric
  684.         user names.  Fix from Tony Sanders of BSDI.
  685.     Add service switch support.  If the local OS has a service
  686.         switch (e.g., /etc/nsswitch.conf on Solaris or /etc/svc.conf
  687.         on DEC systems) that will be used; otherwise, it falls back
  688.         to using a local mechanism based on the ServiceSwitchFile
  689.         option (default: /etc/service.switch).  For example, if the
  690.         service switch lists "files" and "nis" for the aliases
  691.         service, that will be the default lookup order.  the "files"
  692.         ("local" on DEC) service type expands to any alias files
  693.         you listed in the configuration file, even if they aren't
  694.         actually file lookups.
  695.     Option I (NameServerOptions) no longer sets the "UseNameServer"
  696.         variable which tells whether or not DNS should be considered
  697.         canonical.  This is now determined based on whether or not
  698.         "dns" is in the service list for "hosts".
  699.     Add preliminary support for the ESMTP "DSN" extension (Delivery
  700.         Status Notifications).  DSN notifications override
  701.         Return-Receipt-To: headers, which are bogus anyhow.
  702.     Add T=mts-name-type/address-type/diagnostic-type keyletter to mailer
  703.         definitions to define the types used in DSN returns for
  704.         MTA names, addresses, and diagnostics respectively.
  705.     Extend heuristic to force running in ESMTP mode to look for the
  706.         five-character string "ESMTP" anywhere in the 220 greeting
  707.         message (not just the second line).  This is to provide
  708.         better compatibility with other ESMTP servers.
  709.     Print sequence number of job when running the queue so you can
  710.         easily see how much progress you have made.  Suggested
  711.         by Peter Wemm of DIALix.
  712.     Map newlines to spaces in logged message-ids; some versions of
  713.         syslog truncate the rest of the line after newlines.
  714.         Suggested by Fletcher Mattox of U. Texas.
  715.     Move up forking for job runs so that if a message is split into
  716.         multiple envelopes you don't get "fork storms" -- this
  717.         also improves the connection cache utilization.
  718.     Accept "<<>>", "<<<>>>", and so forth as equivalent to "<>" for
  719.         the purposes of refusing to send error returns.  Suggested
  720.         by Motonori Nakamura of Ritsumeikan University.
  721.     Relax rules on when a file can be written when referenced from
  722.         the aliases file: use the default uid/gid instead of the
  723.         real uid/gid.  This allows you to create a file owned by
  724.         and writable only by the default uid/gid that will work
  725.         all the time (without having the setuid bit set).  Change
  726.         suggested by Shau-Ping Lo and Andrew Cheng of Sun
  727.         Microsystems.
  728.     Add "DialDelay" option (no short name) to provide an "extra"
  729.         delay for dial on demand systems.  If this is non-zero
  730.         and a connect fails, sendmail will wait this long and
  731.         then try again.  If it takes longer than the kernel
  732.         timeout interval to establish the connection, this
  733.         option can give the network software time to establish
  734.         the link.  The default units are seconds.
  735.     Move logging of sender information to be as early as possible;
  736.         previously, it could be delayed a while for SMTP mail
  737.         sent to aliases.  Suggested by Brad Knowles of the
  738.         Defense Information Systems Agency.
  739.     Call res_init() before setting RES_DEBUG; this is required by
  740.         BIND 4.9.3, or so I'm told.  From Douglas Anderson of
  741.         the National Computer Security Center.
  742.     Add xdelay= field in logs -- this is a transaction delay, telling
  743.         you how long it took to deliver to this address on the
  744.         last try.  It is intended to be used for sorting mailing
  745.         lists to favor "quick" addresses.  Provided for use by
  746.         the mailprio scripts (see below).
  747.     If a map cannot be opened, and that map is non-optional, and
  748.         an address requires that map for resolution, queue the
  749.         map instead of bouncing it.  This involves creating a
  750.         pseudo-class of maps called "bogus-map" -- if a required
  751.         map cannot be opened, the class is changed to bogus-map;
  752.         all queries against bogus-map return "tempfail".  The
  753.         bogus-map class is not directly accessible.  A sample
  754.         implementation was donated by Jem Taylor of Glasgow
  755.         University Computing Service.
  756.     Fix a possible core dump when mailing to a program that talks
  757.         SMTP on its standard input.  Fix from Keith Moore of
  758.         the University of Kentucky.
  759.     Make it possible to resolve filenames to $#local $: @ /filename;
  760.         previously, the "@" would cause it to not be recognized
  761.         as a file.  Problem noted by Brian Hill of U.C. Davis.
  762.     Accept a -1 signal to re-exec the daemon.  This only works if
  763.         argv[0] is a full path to sendmail.
  764.     Fix bug in "addr=..." field in O option on little-endian machines
  765.         -- the network number wasn't being converted to network
  766.         byte order.  Patch from Kurt Lidl of Pix Technologies
  767.         Corporation.
  768.     Pre-initialize the resolver early on; this is to avoid a bug with
  769.         BIND 4.9.3 that can cause the _res.retry field to get
  770.         reset to zero, causing all name server lookups to time
  771.         out.  Fix from Matt Day of Artisoft.
  772.     Restore T line (trusted users) in config file -- but instead of
  773.         locking out the -f flag, they just tell whether or not
  774.         an X-Authentication-Warning: will be added.  This really
  775.         just creates new entries in class 't', so "Ft/file/name"
  776.         can be used to read trusted user names from a file.
  777.         Trusted users are also allowed to execute programs even
  778.         if they have a shell that isn't in /etc/shells.
  779.     Improve NEWDB alias file rebuilding so it will create them
  780.         properly if they do not already exist.  This had been
  781.         a MAYBENEXTRELEASE feature in 8.6.9.
  782.     Check for @:@ entry in NIS maps before starting up to avoid
  783.         (but not prevent, sigh) race conditions.  This ought to
  784.         be handled properly in ypserv, but isn't.  Suggested by
  785.         Michael Beirne of Motorola.
  786.     Refuse connections if there isn't enough space on the filesystem
  787.         holding the queue.  Contributed by Robert Dana of Wolf
  788.         Communications.
  789.     Skip checking for directory permissions in the path to a file
  790.         when checking for file permissions iff setreuid()
  791.         succeeded -- it is unnecessary in that case.  This avoids
  792.         significant performance problems when looking for .forward
  793.         files.  Based on a suggestion by Win Bent of USC.
  794.     Allow symbolic ruleset names.  Syntax can be "Sname" to get an
  795.         arbitrary ruleset number assigned or "Sname = integer"
  796.         to assign a specific ruleset number.  Reference is
  797.         $>name_or_number.  Names can be composed of alphas, digits,
  798.         underscore, or hyphen (first character must be non-numeric).
  799.     Allow -o flag on AliasFile lines to make the alias file optional.
  800.         From Bryan Costales of ICSI.
  801.     Add NoRecipientAction option to handle the case where there is
  802.         no legal recipient header in the message.  It can take
  803.         on values:
  804.           None            Leave the message as is.  The
  805.                     message will be passed on even
  806.                     though it is in technically
  807.                     illegal syntax.
  808.           Add-To        Add a To: header with any
  809.                     recipients that it can find from
  810.                     the envelope.  This risks exposing
  811.                     Bcc: recipients.
  812.           Add-Apparently-To    Add an Apparently-To: header.  This
  813.                     has almost no redeeming social value,
  814.                     and is provided only for back
  815.                     compatibility.
  816.           Add-To-Undisclosed    Add a header reading
  817.                     To: undisclosed-recipients:;
  818.                     which will have the effect of
  819.                     making the message legal without
  820.                     exposing Bcc: recipients.
  821.           Add-Bcc        To add an empty Bcc: header.
  822.                     There is a chance that mailers down
  823.                     the line will delete this header,
  824.                     which could cause exposure of Bcc:
  825.                     recipients.
  826.         The default is NoRecipientAction=None.
  827.     Truncate (rather than delete) Bcc: lines in the header.  This
  828.         should prevent later sendmails (at least, those that don't
  829.         themselves delete Bcc:) from considering this message to
  830.         be non-conforming -- although it does imply that non-blind
  831.         recipients can see that a Bcc: was sent, albeit not to whom.
  832.     Add SafeFileEnvironment option.  If declared, files named as delivery
  833.         targets must be regular files in addition to the regular
  834.         checks.  Also, if the option is non-null then it is used as
  835.         the name of a directory that is used as a chroot(2)
  836.         environment for the delivery; the file names listed in an
  837.         alias or forward should include the name of this root.
  838.         For example, if you run with
  839.             O SafeFileEnvironment=/arch
  840.         then aliases should reference "/arch/rest/of/path".  If a
  841.         value is given, sendmail also won't try to save to
  842.         /usr/tmp/dead.letter (instead it just leaves the job in the
  843.         queue as Qfxxxxxx).  Inspired by *Hobbit*'s sendmail patch kit.
  844.     Support -A flag for alias files; this will comma concatenate like
  845.         entries.  For example, given the aliases:
  846.             list: member1
  847.             list: member2
  848.         and an alias file declared as:
  849.             OAhash:-A /etc/aliases
  850.         the final alias inserted will be "list: member1,member2";
  851.         without -A you will get an error on the second and subsequent
  852.         alias for "list".  Contributed by Bryan Costales of ICSI.
  853.     Line-buffer transcript file.  Suggested by Liudvikas Bukys.
  854.     Fix a problem that could cause very long addresses to core dump in
  855.         some special circumstances.  Problem pointed out by Allan
  856.         Johannesen.
  857.     (Internal change.)  Change interface to expand() (macro expansion)
  858.         to be simpler and more consistent.
  859.     Delete check for funny qf file names.  This didn't really give
  860.         any extra security and caused some people some problems.
  861.         (If you -really- want this, define PICKY_QF_NAME_CHECK
  862.         at compile time.)  Suggested by Kyle Jones of UUNET.
  863.     (Internal change.)  Change EF_NORETURN to EF_NO_BODY_RETN and
  864.         merge with DSN code; this is simpler and more consistent.
  865.         This may affect some people who have written their own
  866.         checkcompat() routine.
  867.     (Internal change.)  Eliminate `D' line in qf file.  The df file
  868.         is now assumed to be the same name as the qf file (with
  869.         the `q' changed to a `d', of course).
  870.     Avoid forking for delivery if all recipient mailers are marked as
  871.         "expensive" -- this can be a major cost on some systems.
  872.         Essentially, this forces sendmail into "queue only" mode
  873.         if all it is going to do is queue anyway.
  874.     Avoid sending a null message in some rather unusual circumstances
  875.         (specifically, the RCPT command returns a temporary
  876.         failure but the connection is lost before the DATA
  877.         command).  Fix from Scott Hammond of Secure Computing
  878.         Corporation.
  879.     Change makesendmail to use a somewhat more rational naming scheme:
  880.         Makefiles and obj directories are named $os.$rel.$arch,
  881.         where $os is the operating system (e.g., SunOS), $rel is
  882.         the release number (e.g., 5.3), and $arch is the machine
  883.         architecture (e.g., sun4).  Any of these can be omitted,
  884.         and anything after the first dot in a release number can
  885.         be replaced with "x" (e.g., SunOS.4.x.sun4).  The previous
  886.         version used $os.$arch.$rel and was rather less general.
  887.     Change makesendmail to do a "make depend" in the target directory
  888.         when it is being created.  This involves adding an empty
  889.         "depend:" entry in most Makefiles.
  890.     Ignore IDENT return value if the OSTYPE field returns "OTHER",
  891.         as indicated by RFC 1413.  Pointed out by Kari Hurtta
  892.         of the Finnish Meteorological Institute.
  893.     Fix problem that could cause multiple responses to DATA command
  894.         on header syntax errors (e.g., lines beginning with colons).
  895.         Problem noted by Jens Thomassen of the University of Oslo.
  896.     Don't let null bytes in headers cause truncation of the rest of
  897.         the header.
  898.     Log Authentication-Warning:s.  Suggested by Motonori Nakamura.
  899.     Increase timeouts on message data puts to allow time for receivers
  900.         to canonify addresses in headers on the fly.  This is still
  901.         a rather ugly heuristic.  From Motonori Nakamura.
  902.     Add "HasWildcardMX" suboption to ResolverOptions; if set, MX
  903.         records are not used when canonifying names, and when MX
  904.         lookups are done for addressing they must be fully
  905.         qualified.  This is useful if you have a wildcard MX record,
  906.         although it may cause other problems.  In general, don't use
  907.         wildcard MX records.  Patch from Motonori Nakamura.
  908.     Eliminate default two-line SMTP greeting message.  Instead of
  909.         adding an extra "ESMTP spoken here" line, the word "ESMTP"
  910.         is added between the first and second word of the first
  911.         line of the greeting message (i.e., immediately after the
  912.         host name).  This eliminates the need for the BROKEN_SMTP_PEERS
  913.         compile flag.  Old sendmails won't see the ESMTP, but that's
  914.         acceptable because SIZE was the only useful extension that
  915.         old sendmails understand.
  916.     Avoid gethostbyname calls on UNIX domain sockets during SIGUSR1
  917.         invoked state dumps.  From Masaharu Onishi.
  918.     Allow on-line comments in .forward and :include: files; they are
  919.         introduced by the string "<LWSP>#@#<LWSP>", where <LWSP>
  920.         is a space or a tab.  This is intended for native
  921.         representation of non-ASCII sets such as Japanese, where
  922.         existing encodings would be unreadable or would lose
  923.         data -- for example,
  924.          <motonori@cs.ritsumei.ac.jp> NAKAMURA Motonori
  925.                     (romanized/less information)
  926.          <motonori@cs.ritsumei.ac.jp> =?ISO-2022-JP?B?GyRCQ2ZCPBsoQg==?=
  927.                           =?ISO-2022-JP?B?GyRCQUdFNRsoQg==?=
  928.                     (with MIME encoding, not human readable)
  929.          <motonori@cs.ritsumei.ac.jp> #@# ^[$BCfB<^[(B ^[$BAGE5^[(B
  930.                     (native encoding with ISO-2022-JP)
  931.         The last form is human readable in the Japanese environment.
  932.         Based on a fix from (surprise!) Motonori Nakamura.
  933.     Don't make SMTP error returns on MAIL FROM: line be "sticky" for all
  934.         messages to that host; these are most frequently associated
  935.         with addresses rather than the host, with the exception of
  936.         421 (service shutting down).  The effect was to cause queues
  937.         to sometimes take an excessive time to flush.  Reported by
  938.         Robert Sargent of Southern Geographics Technologies and
  939.         Eric Prestemon of American University.
  940.     Add Nice=N mailer option to set the niceness at which a mailer will
  941.         run.  This is actually a relative niceness (that is, an
  942.         increment on the background value).
  943.     Log queue runs that are skipped due to high loads.  They are logged
  944.         at LOG_INFO priority iff the log level is > 8.  Contributed
  945.         by Bruce Nagel of Data General.
  946.     Allow the error mailer to accept a DSN-style error status code
  947.         instead of an sysexits status code in the host part.
  948.         Anything with a dot will be interpreted as a DSN-style code.
  949.     Add new mailer flag: F=3 will tell translations to Quoted-Printable
  950.         to encode characters that might be munged by an EBCDIC system
  951.         in addition to the set required by RFC 1521.  The additional
  952.         characters are !, ", #, $, @, [, \, ], ^, `, {, |, }, and ~.
  953.         (Think of "IBM 360" as the mnemonic for this flag.)
  954.     Change check for mailing to files to look for a pathname of [FILE]
  955.         rather than looking for the mailer named *file*.  The mapping
  956.         of leading slashes still goes to the *file* mailer.  This
  957.         allows you to implement the *file* mailer as a separate
  958.         program, for example, to insert a Content-Length: header
  959.         or do special security policy.  However, note that the usual
  960.         initial checking for the file permissions is still done, and
  961.         the program in question needs to be very careful about how
  962.         it does the file write to avoid security problems.
  963.     Be able to read ~root/.forward even if the path isn't accessible to
  964.         regular users.  This is disrecommended because sendmail
  965.         sometimes does not run as root (e.g., when an unsafe option
  966.         is specified on the command line), but should otherwise be
  967.         safe because .forward files must be owned by the user for
  968.         whom mail is being forwarded, and cannot be a symbolic link.
  969.         Suggested by Forrest Aldrich of Wang Laboratories.
  970.     Add new "HostsFile" option that is the pathname to the /etc/hosts
  971.         file.  This is used for canonifying hostnames when the
  972.         service type is "files".
  973.     Implement programs on F (read class from file) line.  The syntax is
  974.         Fc|/path/to/program to read the output from the program
  975.         into class "c".
  976.     Probe the network interfaces to find alternate names for this
  977.         host.  Requires the SIOCGIFCONF ioctl call.  Code
  978.         contributed by SunSoft.
  979.     Add "E" configuration line to set or propogate environment
  980.         variables into children.  "E<envar>" will propogate
  981.         the named variable from the environment when sendmail
  982.         was invoked into any children it calls; "E<envar>=<value>"
  983.         sets the named variable to the indicated value.  Any
  984.         variables not explicitly named will not be in the child
  985.         environment.  However, sendmail still forces an
  986.         "AGENT=sendmail" environment variable, in part to enforce
  987.         at least one environment variable, since many programs and
  988.         libraries die horribly if this is not guaranteed.
  989.     Change heuristic for rebuilding both NEWDB and NDBM versions of
  990.         alias databases -- new algorithm looks for the substring
  991.         "/yp/" in the file name.  This is more portable and involves
  992.         less overhead.  Suggested by Motonori Nakamura.
  993.     Dynamically allocate the queue work list so that you don't lose
  994.         jobs in large queue runs.  The old QUEUESIZE compile parameter
  995.         is replaced by QUEUESEGSIZE (the unit of allocation, which
  996.         should not need to be changed) and the MaxQueueRunSize option,
  997.         which is the absolute maximum number of jobs that will ever
  998.         be handled in a single queue run.  Based on code contributed
  999.         by Brian Coan of the Institute for Global Communications.
  1000.     Log message when a message is dropped because it exceeds the maximum
  1001.         message size.  Suggested by Leo Bicknell of Virginia Tech.
  1002.     Allow trusted users (those on a T line or in $=t) to use -bs without
  1003.         an X-Authentication-Warning: added.  Suggested by Mark Thomas
  1004.         of Mark G. Thomas Consulting.
  1005.     Announce state of compile flags on -d0.1 (-d0.10 throws in the
  1006.         OS-dependent defines).  The old semantic of -d0.1 to not
  1007.         run the daemon in background has been moved to -d99.100,
  1008.         and the old 52.5 flag (to avoid disconnect() from closing
  1009.         all output files) has been moved to 52.100.  This makes
  1010.         things more consistent (flags below .100 don't change
  1011.         semantics) and separates out the backgrounding so that
  1012.         it doesn't happen automatically on other unrelated debugging
  1013.         flags.
  1014.     If -t is used but no addresses are found in the header, give an
  1015.         error message rather than just doing nothing.  Fix from
  1016.         Motonori Nakamura.
  1017.     On systems (like SunOS) where the effective gid is not necessarily
  1018.         included in the group list returned by getgroups(), the
  1019.         `restrictmailq' option could sometimes cause an authorized
  1020.         user to not be able to use `mailq'.  Fix from Charles Hannum
  1021.         of MIT.
  1022.     Allow symbolic service names for [IPC] mailers.  Suggested by
  1023.         Gerry Magennis of Logica International.
  1024.     Add DontExpandCnames option to prevent $[ ... $] from expanding CNAMEs
  1025.         when running DNS.  For example, if the name FTP.Foo.ORG is
  1026.         a CNAME for Cruft.Foo.ORG, then when sitting on a machine in
  1027.         the Foo.ORG domain a lookup of "FTP" returns "Cruft.Foo.ORG"
  1028.         if this option is not set, or "FTP.Foo.ORG" if it is set.
  1029.         This is technically illegal under RFC 822 and 1123, but the
  1030.         IETF is moving toward legalizing it.  Note that turning on
  1031.         this option is not sufficient to guarantee that a downstream
  1032.         neighbor won't rewrite the address for you.
  1033.     Add "-m" flag to makesendmail script -- this tells you what object
  1034.         directory and Makefile it will use, but doesn't actually do
  1035.         the make.
  1036.     Do some additional checking on the contents of the qf file to try
  1037.         to detect attacks against the qf file.  In particular,
  1038.         abort on any line beginning "From ", and add an "end of
  1039.         file" line -- any data after that line is prohibited.
  1040.     Always use /etc/sendmail.cf, regardless of the arbitrary vendor
  1041.         choices.  This can be overridden in the Makefile by using
  1042.         either -DUSE_VENDOR_CF_PATH to get the vendor location
  1043.         (to the extent that we know it) or by defining
  1044.         _PATH_SENDMAILCF (which is a "hard override").  This allows
  1045.         sendmail 8 to have more consistent installation instructions.
  1046.     Allow macros on `K' line in config file.  Suggested by Andrew Chang
  1047.         of Sun Microsystems.
  1048.     Improved symbol table hash function from Eric Wassenaar.  This one
  1049.         is at least 50% faster.
  1050.     Fix problem that didn't notice that timeout on file open was a
  1051.         transient error.  Fix from Larry Parmelee of Cornell
  1052.         University.
  1053.     Allow comments (lines beginning with a `#') in files read for
  1054.         classes.  Suggested by Motonori Nakamura.
  1055.     Make SIGINT (usually ^C) in test mode return to the prompt instead
  1056.         of dropping out entirely.  This makes testing some of the
  1057.         name server lookups easier to deal with when there are
  1058.         hung servers.  From Motonori Nakamura.
  1059.     Add new ${opMode} macro that is set to the current operation mode
  1060.         (e.g., `s' for -bs, `t' for -bt, etc.).  Suggested by
  1061.         Claude Marinier <MARINIER@emp.ewd.dreo.dnd.ca>.
  1062.     Add new delivery mode (Odd) that defers all map lookups to queue runs.
  1063.         Kind of like queue-only mode (Odq) except it tries to avoid
  1064.         any external service requests; for dial-on-demand hosts that
  1065.         want to minimize DNS lookups when mail is being queued.  For
  1066.         this to work you will also have to make sure that gethostbyname
  1067.         of your local host name does not do a DNS lookup.
  1068.     Improved handling of "out of space" conditions from John Myers of
  1069.         Carnegie Mellon.
  1070.     Improved security for mailing to files on systems that have fchmod(2)
  1071.         support.
  1072.     Improve "cannot send message for N days" message -- now says "could
  1073.         not send for past N days".  Suggested by Tom Moore of AT&T
  1074.         Global Information Solutions.
  1075.     Less misleading Subject: line on messages sent to postmaster only.
  1076.         From Motonori Nakamura.
  1077.     Avoid duplicate error messages on bad command line flags.  From
  1078.         Motonori Nakamura.
  1079.     Better error message for case where ruleset 0 falls off the end
  1080.         or otherwise does not resolve to a canonical triple.
  1081.     Fix a problem that could cause multiple bounce messages if a bad
  1082.         address was sent along with a good address to an SMTP
  1083.         site where that SMTP site returned a 4yz code in response
  1084.         to the final dot of the data.  Problem reported by David
  1085.         James of British Telecom.
  1086.     Add "volatile" declarations so that gcc -O2 will work.  Patches
  1087.         from Alexander Dupuy of System Management ARTS.
  1088.     Delete duplicates in MX lists -- believe it or not, there are sites
  1089.         that list the same host twice in an MX list.  This deletion
  1090.         only works on adjacent preferences, so an MX list that
  1091.         had A=5, B=10, A=15 would leave both As, but one that had
  1092.         A=5, A=10, B=15 would reduce to A, B.  This is intentional,
  1093.         just in case there is something wierd I haven't thought of.
  1094.         Suggested by Barry Shein of Software Tool & Die.
  1095.     SECURITY: .forward files cannot be symbolic links.  If they are,
  1096.         a bad guy can read your private files.
  1097.     PORTABILITY FIXES:
  1098.         Solaris 2 from Rob McMahon <cudcv@csv.warwick.ac.uk>.
  1099.         System V Release 4 from Motonori Nakamura of Ritsumeikan
  1100.             University.  This expands the disk size
  1101.             checking to include all (?) SVR4 configurations.
  1102.         System V Release 4 from Kimmo Suominen -- initgroups(3)
  1103.             and setrlimit(2) are both available.
  1104.         System V Release 4 from sob@sculley.ffg.com -- some versions
  1105.             apparently "have EX_OK defined in other headerfiles."
  1106.         Linux Makefile typo.
  1107.         Linux getusershell(3) is broken in Slackware 2.0 --
  1108.             from Andrew Pam of Xanadu Australia.
  1109.         More Linux tweaking from John Kennedy of California State
  1110.             University, Chico.
  1111.         Cray changes from Eric Wassenaar:  ``On Cray, shorts,
  1112.             ints, and longs are all 64 bits, and all structs
  1113.             are multiples of 64 bits.  This means that the
  1114.             sizeof operator returns only multiples of 8.
  1115.             This requires adaptation of code that really
  1116.             deals with 32 bit or 16 bit fields, such as IP
  1117.             addresses or nameserver fields.''
  1118.         DG/UX 5.4.3 from Mark T. Robinson <mtr@ornl.gov>.  To
  1119.             get the old behaviour, use -DDGUX_5_4_2.
  1120.         DG/UX hack: add _FORCE_MAIL_LOCAL_=yes environment
  1121.             variable to fix bogus /bin/mail behaviour.
  1122.         Tandem NonStop-UX from Rick McCarty <mccarty@mpd.tandem.com>.
  1123.             This also cleans up some System V Release 4 compile
  1124.             problems.
  1125.         Solaris 2: sendmail.cw file should be in /etc/mail to
  1126.             match all the other configuration files.  Fix
  1127.             from Glenn Barry of Emory University.
  1128.         Solaris 2.3: compile problem in conf.c.  Fix from Alain
  1129.             Nissen of the University of Liege, Belgium.
  1130.         Ultrix: freespace calculation was incorrect.  Fix from
  1131.             Takashi Kizu of Osaka University.
  1132.         SVR4: running in background gets a SIGTTOU because the
  1133.             emulation code doesn't realize that "getpeername"
  1134.             doesn't require reading the file.  Fix from Peter
  1135.             Wemm of DIALix.
  1136.         Solaris 2.3: due to an apparent bug in the socket emulation
  1137.             library, sockets can get into a "wedged" state where
  1138.             they just return EPROTO; closing and re-opening the
  1139.             socket clears the problem.  Fix from Bob Manson
  1140.             of Ohio State University.
  1141.         Hitachi 3050R & 3050RX running HI-UX/WE2: portability
  1142.             fixes from Akihiro Hashimoto ("Hash") of Chiba
  1143.             University.
  1144.         AIX changes to allow setproctitle to work from Rainer Sch÷pf
  1145.             of Zentrum fⁿr Datenverarbeitung der UniversitΣt
  1146.             Mainz.
  1147.         AIX changes for load average from Ed Ravin of NASA/Goddard.
  1148.         SCO Unix from Chip Rosenthal of Unicom (code was using the
  1149.             wrong statfs call).
  1150.         ANSI C fixes from Adam Glass (NetBSD project).
  1151.         Stardent Titan/ANSI C fixes from Kate Hedstrom of Rutgers
  1152.             University.
  1153.         DG-UX fixes from Bruce Nagel of Data General.
  1154.         IRIX64 updates from Mark Levinson of the University of
  1155.             Rochester Medical Center.
  1156.         Altos System V (``the first UNIX/XENIX merge the Altos
  1157.             did for their Series 1000 & Series 2000 line;
  1158.             their merged code was licenced back to AT&T and
  1159.             Microsoft and became System V release 3.2'') from
  1160.             Tim Rice <timr@crl.com>.
  1161.         OSF/1 running on Intel Paragon from Jeff A. Earickson
  1162.             <jeff@ssd.intel.com> of Intel Scalable Systems
  1163.             Divison.
  1164.         Amdahl UTS System V 2.1.5 (SVr3-based) from Janet Jackson
  1165.             <janet@dialix.oz.au>.
  1166.         System V Release 4 (statvfs semantic fix) from Alain
  1167.             Durand of I.M.A.G.
  1168.         HP-UX 10.x multiprocessor load average changes from
  1169.             Scott Hutton and Jeff Sumler of Indiana University.
  1170.         Cray CSOS from Scott Bolte of Cray Computer Corporation.
  1171.         Unicos 8.0 from Douglas K. Rand of the University of North
  1172.             Dakota, Scientific Computing Center.
  1173.         Solaris 2.4 fixes from Sanjay Dani of Dani Communications.
  1174.         ConvexOS 11.0 from Christophe Wolfhugel.
  1175.         IRIX 4.0.5 from David Ashton-Reader of CADcentre.
  1176.         ISC UNIX from J. J. Bailey.
  1177.         HP-UX 9.xx on the 8xx series machines from Remy Giraud
  1178.             of Meteo France.
  1179.         HP-UX configuration from Tom Lane <tgl@sss.pgh.pa.us>.
  1180.         IRIX 5.2 and 5.3 from Kari E. Hurtta.
  1181.         FreeBSD 2.0 from Mike Hickey of Federal Data Corporation.
  1182.         Sony NEWS-OS 4.2.1R and 6.0.3 from Motonori Nakamura.
  1183.         Omron LUNA unios-b, mach from Motonori Nakamura.
  1184.         NEC EWS-UX/V 4.2 from Motonori Nakamura.
  1185.         NeXT 2.1 from Bryan Costales.
  1186.         AUX patch thanks to Mike Erwin of Apple Computer.
  1187.         HP-UX 10.0 from John Beck of Hewlett-Packard.
  1188.         Ultrix: allow -DBROKEN_RES_SEARCH=0 if you are using a
  1189.             non-DEC resolver.  Suggested by Allan Johannesen.
  1190.         UnixWare 2.0 fixes from Petr Lampa of the Technical
  1191.             University of Brno (Czech Republic).
  1192.         KSR OS 1.2.2 support from Todd Miller of the University
  1193.             of Colorado.
  1194.         UX4800 support from Kazuhisa Shimizu of NEC.
  1195.     MAKEMAP: allow -d flag to allow insertion of duplicate aliases
  1196.         in type ``btree'' maps.  The semantics of this are undefined
  1197.         for regular maps, but it can be useful for the user database.
  1198.     MAKEMAP: lock database file while rebuilding to avoid sendmail
  1199.         lookups while the rebuild is going on.  There is a race
  1200.         condition between the open(... O_TRUNC ...) and the lock
  1201.         on the file, but it should be quite small.
  1202.     SMRSH: sendmail restricted shell added to the release.  This can
  1203.         be used as an alternative to /bin/sh for the "prog" mailer,
  1204.         giving the local administrator more control over what
  1205.         programs can be run from sendmail.
  1206.     MAIL.LOCAL: add this local mailer to the tape.  It is not really
  1207.         part of the release proper, and isn't fully supported; in
  1208.         particular, it does not run on System V based systems and
  1209.         never will.
  1210.     CONTRIB: a patch to rmail.c from Bill Gianopoulos of Raytheon
  1211.         to allow rmail to compile on systems that don't have
  1212.         function prototypes and systems that don't have snprintf.
  1213.     CONTRIB: add the "mailprio" scripts that will help you sort mailing
  1214.         lists by transaction delay times so that addresses that
  1215.         respond quickly get sent first.  This is to prevent very
  1216.         sluggish servers from delaying other peoples' mail.
  1217.         Contributed by Tony Sanders of BSDI.
  1218.     CONTRIB: add the "bsdi.mc" file as contributed by Tony Sanders
  1219.         of BSDI.  This has a lot of comments to help people out.
  1220.     CONFIG: Don't have .mc files include(../m4/cf.m4) -- instead,
  1221.         put this on the m4 command line.  On GNU m4 (which
  1222.         supports the __file__ primitive) you can run m4 in an
  1223.         arbitrary directory -- use either:
  1224.             m4 ${CFDIR}/m4/cf.m4 config.mc > config.cf
  1225.         or
  1226.             m4 -I${CFDIR} m4/cf.m4 config.mc > config.cf
  1227.         On other versions of m4 that don't support __file__, you
  1228.         can use:
  1229.             m4 -D_CF_DIR_=${CFDIR}/ ${CFDIR}/m4/cf.m4 ...
  1230.         (Note the trailing slash on the _CF_DIR_ definition.)
  1231.         Old versions of m4 will default to _CF_DIR_=.. for back
  1232.         compatibility.
  1233.     CONFIG: fix mail from <> so it will properly convert to
  1234.         MAILER-DAEMON on local addresses.
  1235.     CONFIG: fix code that was supposed to catch colons in host
  1236.         names.  Problem noted by John Gardiner Myers of CMU.
  1237.     CONFIG: allow use of SMTP_MAILER_MAX in nullclient configuration.
  1238.         From Paul Riddle of the University of Maryland, Baltimore
  1239.         County.
  1240.     CONFIG: Catch and reject "." as a host address.
  1241.     CONFIG: Generalize domaintable to look up all domains, not
  1242.         just unqualified ones.
  1243.     CONFIG: Delete OLD_SENDMAIL support -- as near as I can tell, it
  1244.         was never used and didn't work anyway.
  1245.     CONFIG: Set flags A, w, 5, :, /, |, and @ on the "local" mailer
  1246.         and d on all mailers in the UUCP class.
  1247.     CONFIG: Allow "user+detail" to be aliased specially: it will first
  1248.         look for an alias for "user+detail", then for "user+*", and
  1249.         finally for "user".  This is intended for forwarding mail
  1250.         for system aliases such as root and postmaster to a
  1251.         centralized hub.
  1252.     CONFIG: add confEIGHT_BIT_HANDLING to set option 8 (see above).
  1253.     CONFIG: add smtp8 mailer; this has the F=8 (just-send-8) flag set.
  1254.         The F=8 flag is also set on the "relay" mailer, since
  1255.         this is expected to be another sendmail.
  1256.     CONFIG: avoid qualifying all UUCP addresses sent via SMTP with
  1257.         the name of the UUCP_RELAY -- in some cases, this is the
  1258.         wrong value (e.g., when we have local UUCP connections),
  1259.         and this can create unreplyable addresses.  From Chip
  1260.         Rosenthal of Unicom.
  1261.     CONFIG: add confRECEIVED_HEADER to change the format of the
  1262.         Received: header inserted into all messages. Suggested by
  1263.         Gary Mills of the University of Manitoba.
  1264.     CONFIG: Make "notsticky" the default; use FEATURE(stickyhost)
  1265.         to get the old behaviour.  I did this upon observing
  1266.         that almost everyone needed this feature, and that the
  1267.         concept I was trying to make happen didn't work with
  1268.         some user agents anyway.  FEATURE(notsticky) still works,
  1269.         but it is a no-op.
  1270.     CONFIG: Add LUSER_RELAY -- the host to which unrecognized user
  1271.         names are sent, rather than immediately diagnosing them
  1272.         as User Unknown.
  1273.     CONFIG: Add SMTP_MAILER_ARGS, ESMTP_MAILER_ARGS, SMTP8_MAILER_ARGS,
  1274.         and RELAY_MAILER_ARGS to set the arguments for the
  1275.         indicated mailers.  All default to "IPC $h".  Patch from
  1276.         Larry Parmelee of Cornell University.
  1277.     CONFIG: pop mailer needs F=n flag to avoid "annoying side effects
  1278.         on the client side" and F=P to get an appropriate
  1279.         return-path.  From Kimmo Suominen.
  1280.     CONFIG: add FEATURE(local_procmail) to use the procmail program
  1281.         as the local mailer.  For addresses of the form "user+detail"
  1282.         the "detail" part is passed to procmail via the -a flag.
  1283.         Contributed by Kimmo Suominen.
  1284.     CONFIG: add MAILER(procmail) to add an interface to procmail for
  1285.         use from mailertables.  This lets you execute arbitrary
  1286.         procmail scripts.  Contributed by Kimmo Suominen.
  1287.     CONFIG: add T= fields (MTS type) to local, smtp, and uucp mailers.
  1288.     CONFIG: add OSTYPE(ptx2) for DYNIX/ptx 2.x from Sequent.  From
  1289.         Paul Southworth of CICNet Systems Support.
  1290.     CONFIG: use -a$g as default to UUCP mailers, instead of -a$f.
  1291.         This causes the null return path to be rewritten as
  1292.         MAILER-DAEMON; otherwise UUCP gets horribly confused.
  1293.         From Michael Hohmuth of Technische Universitat Dresden.
  1294.     CONFIG: Add FEATURE(bestmx_is_local) to cause any hosts that
  1295.         list us as the best possible MX record to be treated as
  1296.         though they were local (essentially, assume that they
  1297.         are included in $=w).  This can cause additional DNS
  1298.         traffic, but is easier to administer if this fits your
  1299.         local model.  It does not work reliably if there are
  1300.         multiple hosts that share the best MX preference.
  1301.         Code contributed by John Oleynick of Rutgers.
  1302.     CONFIG: Add FEATURE(smrsh) to use smrsh (the SendMail Restricted
  1303.         SHell) instead of /bin/sh as the program used for delivery
  1304.         to programs.  If an argument is included, it is used as
  1305.         the path to smrsh; otherwise, /usr/local/etc/smrsh is
  1306.         assumed.
  1307.     CONFIG: Add LOCAL_MAILER_MAX and PROCMAILER_MAILER_MAX to limit the
  1308.         size of messages to the local and procmail mailers
  1309.         respectively.  Contributed by Brad Knowles of the Defense
  1310.         Information Systems Agency.
  1311.     CONFIG: Handle leading ``phrase:'' and trailing ``;'' as comments
  1312.         (just like text outside of angle brackets) in order to
  1313.         properly deal with ``group: addr1, ... addrN;'' syntax.
  1314.     CONFIG: Require OSTYPE macro (the defaults really don't apply to
  1315.         any real systems any more) and tweak the DOMAIN macro
  1316.         so that it is less likely that users will accidently use
  1317.         the Berkeley defaults.  Also, create some generic files
  1318.         that really can be used in the real world.
  1319.     CONFIG: Add new configuration macros to set character sets for
  1320.         messages _arriving from_ various mailers: LOCAL_MAILER_CHARSET,
  1321.         SMTP_MAILER_CHARSET, and UUCP_MAILER_CHARSET.
  1322.     CONFIG: Change UUCP_MAX_SIZE to UUCP_MAILER_MAX for consistency.
  1323.         The old name will still be accepted for a while at least.
  1324.     CONFIG: Implement DECNET_RELAY as spec for host to which DECNET
  1325.         mail (.DECNET pseudo-domain or node::user) will be sent.
  1326.         As with all relays, it can be ``mailer:hostname''.  Suggested
  1327.         by Scott Hutton.
  1328.     CONFIG: Add MAILER(mail11) to get DECnet support.  Code contributed
  1329.         by Barb Dijker of Labyrinth Computer Services.
  1330.     CONFIG: change confCHECK_ALIASES to default to False -- it has poor
  1331.         performance for large alias files, and this confused many
  1332.         people.
  1333.     CONFIG: Add confCF_VERSION to append local information to the
  1334.         configuration version number displayed during SMTP startup.
  1335.     CONFIG: fix some.newsgroup.usenet@local.host syntax (previously it
  1336.         would only work when locally addressed.  Fix from
  1337.         Edvard Tuinder of Cistron Internet Services.
  1338.     CONFIG: use ${opMode} to avoid error on .REDIRECT addresses if option
  1339.         "n" (CheckAlaises) is set when rebuilding alias database.
  1340.         Based on code contributed by Claude Marinier.
  1341.     CONFIG: Allow mailertable to have values of the form
  1342.         ``error:code message''.  The ``code'' is a status code
  1343.         derived from the sysexits codes -- e.g., NOHOST or UNAVAILABLE.
  1344.         Contributed by David James <dwj@agw.bt.co.uk>.
  1345.     CONFIG: add MASQUERADE_DOMAIN(domain list) to extend the list of
  1346.         sender domains that will be replaced with the masquerade name.
  1347.         These domains will not be treated as local, but if mail passes
  1348.         through with sender addresses in those domains they will be
  1349.         replaced by the masquerade name.  These can also be specified
  1350.         in a file using MASQUERADE_DOMAIN_FILE(filename).
  1351.     CONFIG: add FEATURE(masquerade_envelope) to masquerade the envelope
  1352.         as well as the header.  Substantial improvements to this
  1353.         code were contributed by Per Hedeland.
  1354.     CONFIG: add MAILER(phquery) to define a new "ph" mailer; this can be
  1355.         accessed from a mailertable to do CCSO ph lookups.  Contributed
  1356.         by Kimmo Suominen.
  1357.     CONFIG: add MAILER(cyrus) to define a new Cyrus mailer; this can be
  1358.         used to define cyrus and cyrusbb mailers (for IMAP support).
  1359.         Contributed by John Gardiner Myers of Carnegie Mellon.
  1360.     CONFIG: add confUUCP_MAILER to select default mailer to use for
  1361.         UUCP addressing.  Suggested by Tom Moore of AT&T GIS.
  1362.     NEW FILES:
  1363.         cf/cf/cs-hpux10.mc
  1364.         cf/cf/cs-solaris2.mc
  1365.         cf/cf/cyrusproto.mc
  1366.         cf/cf/generic-bsd4.4.mc
  1367.         cf/cf/generic-hpux10.mc
  1368.         cf/cf/generic-hpux9.mc
  1369.         cf/cf/generic-osf1.mc
  1370.         cf/cf/generic-solaris2.mc
  1371.         cf/cf/generic-sunos4.1.mc
  1372.         cf/cf/generic-ultrix4.mc
  1373.         cf/cf/huginn.cs.mc
  1374.         cf/domain/berkeley-only.m4
  1375.         cf/domain/generic.m4
  1376.         cf/feature/bestmx_is_local.m4
  1377.         cf/feature/local_procmail.m4
  1378.         cf/feature/masquerade_envelope.m4
  1379.         cf/feature/smrsh.m4
  1380.         cf/feature/stickyhost.m4
  1381.         cf/feature/use_ct_file.m4
  1382.         cf/m4/cfhead.m4
  1383.         cf/mailer/cyrus.m4
  1384.         cf/mailer/mail11.m4
  1385.         cf/mailer/phquery.m4
  1386.         cf/mailer/procmail.m4
  1387.         cf/ostype/amdahl-uts.m4
  1388.         cf/ostype/bsdi2.0.m4
  1389.         cf/ostype/hpux10.m4
  1390.         cf/ostype/irix5.m4
  1391.         cf/ostype/isc4.1.m4
  1392.         cf/ostype/ptx2.m4
  1393.         cf/ostype/unknown.m4
  1394.         contrib/bsdi.mc
  1395.         contrib/mailprio
  1396.         contrib/rmail.oldsys.patch
  1397.         mail.local/mail.local.0
  1398.         makemap/makemap.0
  1399.         smrsh/README
  1400.         smrsh/smrsh.0
  1401.         smrsh/smrsh.8
  1402.         smrsh/smrsh.c
  1403.         src/Makefiles/Makefile.CSOS
  1404.         src/Makefiles/Makefile.EWS-UX_V
  1405.         src/Makefiles/Makefile.HP-UX.10
  1406.         src/Makefiles/Makefile.IRIX.5.x
  1407.         src/Makefiles/Makefile.IRIX64
  1408.         src/Makefiles/Makefile.ISC
  1409.         src/Makefiles/Makefile.KSR
  1410.         src/Makefiles/Makefile.NEWS-OS.4.x
  1411.         src/Makefiles/Makefile.NEWS-OS.6.x
  1412.         src/Makefiles/Makefile.NEXTSTEP
  1413.         src/Makefiles/Makefile.NonStop-UX
  1414.         src/Makefiles/Makefile.Paragon
  1415.         src/Makefiles/Makefile.SCO.3.2v4.2
  1416.         src/Makefiles/Makefile.SunOS.5.3
  1417.         src/Makefiles/Makefile.SunOS.5.4
  1418.         src/Makefiles/Makefile.SunOS.5.5
  1419.         src/Makefiles/Makefile.UNIX_SV.4.x.i386
  1420.         src/Makefiles/Makefile.uts.systemV
  1421.         src/Makefiles/Makefile.UX4800
  1422.         src/aliases.0
  1423.         src/mailq.0
  1424.         src/mime.c
  1425.         src/newaliases.0
  1426.         src/sendmail.0
  1427.         test/t_seteuid.c
  1428.     RENAMED FILES:
  1429.         cf/cf/alpha.mc =>        cf/cf/s2k-osf1.mc
  1430.         cf/cf/chez.mc =>        cf/cf/chez.cs.mc
  1431.         cf/cf/hpux-cs-exposed.mc =>    cf/cf/cs-hpux9.mc
  1432.         cf/cf/osf1-cs-exposed.mc =>    cf/cf/cs-osf1.mc
  1433.         cf/cf/s2k.mc =>            cf/cf/s2k-ultrix4.mc
  1434.         cf/cf/sunos4.1-cs-exposed.mc =>    cf/cf/cs-sunos4.1.mc
  1435.         cf/cf/ultrix4.1-cs-exposed.mc => cf/cf/cs-ultrix4.mc
  1436.         cf/cf/vangogh.mc =>        cf/cf/vangogh.cs.mc
  1437.         cf/domain/Berkeley.m4 =>    cf/domain/Berkeley.EDU.m4
  1438.         cf/domain/cs-exposed.m4 =>    cf/domain/CS.Berkeley.EDU.m4
  1439.         cf/domain/eecs-hidden.m4 =>    cf/domain/EECS.Berkeley.EDU.m4
  1440.         cf/domain/s2k.m4 =>        cf/domain/S2K.Berkeley.EDU.m4
  1441.         cf/ostype/hpux.m4 =>        cf/ostype/hpux9.m4
  1442.         cf/ostype/irix.m4 =>        cf/ostype/irix4.m4
  1443.         cf/ostype/ultrix4.1.m4 =>    cf/ostype/ultrix4.m4
  1444.         src/Makefile.* =>        src/Makefiles/Makefile.*
  1445.         src/Makefile.AUX =>        src/Makefiles/Makefile.A-UX
  1446.         src/Makefile.BSDI =>        src/Makefiles/Makefile.BSD-OS
  1447.         src/Makefile.DGUX =>        src/Makefiles/Makefile.dgux
  1448.         src/Makefile.RISCos =>        src/Makefiles/Makefile.UMIPS
  1449.         src/Makefile.SunOS.4.0.3 =>    src/Makefiles/Makefile.SunOS.4.0
  1450.     OBSOLETED FILES:
  1451.         cf/cf/cogsci.mc
  1452.         cf/cf/cs-exposed.mc
  1453.         cf/cf/cs-hidden.mc
  1454.         cf/cf/hpux-cs-hidden.mc
  1455.         cf/cf/knecht.mc
  1456.         cf/cf/osf1-cs-hidden.mc
  1457.         cf/cf/sunos3.5-cs-exposed.mc
  1458.         cf/cf/sunos3.5-cs-hidden.mc
  1459.         cf/cf/sunos4.1-cs-hidden.mc
  1460.         cf/cf/ultrix4.1-cs-hidden.mc
  1461.         cf/domain/cs-hidden.m4
  1462.         contrib/rcpt-streaming
  1463.         src/Makefiles/Makefile.SunOS.5.x
  1464.  
  1465. 8.6.12/8.6.12    95/03/28
  1466.     Fix to IDENT code (it was getting the size of the reply buffer
  1467.         too small, so nothing was ever accepted).  Fix from several
  1468.         people, including Allan Johannesen, Shane Castle of the
  1469.         Boulder County Information Services, and Jeff Smith of
  1470.         Warwick University (all arrived within a few hours of
  1471.         each other!).
  1472.     Fix a problem that could cause large jobs to run out of
  1473.         file descriptors on systems that use vfork() rather
  1474.         than fork().
  1475.  
  1476. 8.6.11/8.6.11    95/03/08
  1477.     The ``possible attack'' message would be logged more often
  1478.         than necessary if you are using Pine as a user agent.
  1479.     The wrong host would be reported in the ``possible attack''
  1480.         message when attempted from IDENT.
  1481.     In some cases the syslog buffer could be overflowed when
  1482.         reporting the ``possible attack'' message.  This can
  1483.         cause denial of service attacks.  Truncate the message
  1484.         to 80 characters to prevent this problem.
  1485.     When reading the IDENT response a loop is needed around the
  1486.         read from the network to ensure that you don't get
  1487.         partial lines.
  1488.     Password entries without any shell listed (that is, a null
  1489.         shell) wouldn't match as "ok".  Problem noted by
  1490.         Rob McMahon.
  1491.     When running BIND 4.9.x a problem could occur because the
  1492.         _res.options field is initialized differently than it
  1493.         was historically -- this requires that sendmail call
  1494.         res_init before it tweaks any bits.
  1495.     Fix an incompatibility in openxscript() between the file open mode
  1496.         and the stdio mode passed to fdopen.  This caused UnixWare
  1497.         2.0 to have conniptions.  Fix from Martin Sohnius of
  1498.         Novell Labs Europe.
  1499.     Fix problem with static linking of local getopt routine when
  1500.         using GNU's ld command.  Fix from John Kennedy of
  1501.         Cal State Chico.
  1502.     It was possible to turn off privacy flags.  Problem noted by
  1503.         *Hobbit*.
  1504.     Be more paranoid about writing files.  Suggestions by *Hobbit*
  1505.         and Liudvikas Bukys.
  1506.     MAKEMAP: fixes for 64 bit machines (DEC Alphas in particular)
  1507.         from Spider Boardman.
  1508.     CONFIG: No changes (version number only, to keep it in sync
  1509.         with the binaries).
  1510.  
  1511. 8.6.10/8.6.10    95/02/10
  1512.     SECURITY: Diagnose bogus values to some command line flags that
  1513.         could allow trash to get into headers and qf files.
  1514.     Validate the name of the user returned by the IDENT protocol.
  1515.         Some systems that really dislike IDENT send intentionally
  1516.         bogus information.  Problem pointed out by Michael Bushnell
  1517.         of the Free Software Foundation.  Has some security
  1518.         implications.
  1519.     Fix a problem causing error messages about DNS problems when
  1520.         the host name contained a percent sign to act oddly
  1521.         because it was passed as a printf-style format string.
  1522.         In some cases this could cause core dumps.
  1523.     Avoid possible buffer overrun in returntosender() if error
  1524.         message is quite ling.  From Fletcher Mattox of the
  1525.         University of Texas.
  1526.     Fix a problem that would silently drop "too many hops" error
  1527.         messages if and only if you were sending to an alias.
  1528.         From Jon Giltner of the University of Colorado and
  1529.         Dan Harton of Oak Ridge National Laboratory.
  1530.     Fix a bug that caused core dumps on some systems if -d11.2 was
  1531.         set and e->e_message was null.  Fix from Bruce Nagel of
  1532.         Data General.
  1533.     Fix problem that can still cause df files to be left around
  1534.         after "hop count exceeded" messages.  Fix from Andrew
  1535.         Chang and Shau-Ping Lo of SunSoft.
  1536.     Fix a problem that can cause buffer overflows on very long
  1537.         user names (as might occur if you piped to a program
  1538.         with a lot of arguments).
  1539.     Avoid returning an error and re-queueing if the host signature
  1540.         is null; this can occur on addresses like ``user@.''.
  1541.         Problem noted by Wesley Craig and the University of
  1542.         Michigan.
  1543.     Avoid possible calls to malloc(0) if MCI caching is turned
  1544.         off.  Bug fix from Pierre David of the Laboratoire
  1545.         Parallelisme, Reseaux, Systemes et Modelisation (PRiSM),
  1546.         Universite de Versailles - St Quentin, and Jacky
  1547.         Thibault.
  1548.     Make a local copy of the line being sent via senttolist() -- in
  1549.         some cases, buffers could get trashed by map lookups
  1550.         causing it to do unexpected things.  This also simplifies
  1551.         some of the map code.
  1552.     CONFIG: No changes (version number only, to keep it in sync
  1553.         with the binaries).
  1554.  
  1555. 8.6.9/8.6.9    94/04/19
  1556.     Do all mail delivery completely disconnected from any terminal.
  1557.         This provides consistency with daemon delivery and
  1558.         may have some security implications.
  1559.     Make sure that malloc doesn't get called with zero size,
  1560.         since that fails on some systems.  Reported by Ed
  1561.         Hill of the University of Iowa.
  1562.     Fix multi-line values for $e (SMTP greeting message).  Reported
  1563.         by Mike O'Connor of Ford Motor Company.
  1564.     Avoid syserr if no NIS domain name is defined, but the map it
  1565.         is trying to open is optional.  From Win Bent of USC.
  1566.     Changes for picky compilers from Ed Gould of Digital Equipment.
  1567.     Hesiod support for UDB from Todd Miller of the University of
  1568.         Colorado.  Use "hesiod" as the service name in the U
  1569.         option.
  1570.     Fix a problem that failed to set the "authentic" host name (that
  1571.         is, the one derived from the socket info) if you called
  1572.         sendmail -bs from inetd.  Based on code contributed by
  1573.         Todd Miller (this problem was also reported by Guy Helmer
  1574.         of Dakota State University).  This also fixes a related
  1575.         problem reported by Liudvikas Bukys of the University of
  1576.         Rochester.
  1577.     Parameterize "nroff -h" in all the Makefiles so people with
  1578.         variant versions can use them easily.  Suggested by
  1579.         Peter Collinson of Hillside Systems.
  1580.     SMTP "MAIL" commands with multiple ESMTP parameters required two
  1581.         spaces between parameters instead of one.  Reported by
  1582.         Valdis Kletnieks of Virginia Tech.
  1583.     Reduce the number of system calls during message collection by
  1584.         using global timeouts around the collect() loop.  This
  1585.         code was contributed by Eric Wassenaar.
  1586.     If the initial hostname name gathering results in a name
  1587.         without a dot (usually caused by NIS misconfiguration)
  1588.         and BIND is compiled in, directly access DNS to get
  1589.         the canonical name.  This should make life easier for
  1590.         Solaris systems.  If it still can't be resolved, and
  1591.         if the name server is listed as "required", try again
  1592.         in 30 seconds.  If that also fails, exit immediately to
  1593.         avoid bogus "config error: mail loops back to myself"
  1594.         messages.
  1595.     Improve the "MAIL DELETED BECAUSE OF LACK OF DISK SPACE" error
  1596.         message to explain how much space was available and
  1597.         sound a bit less threatening.  Suggested by Stan Janet
  1598.         of the National Institute of Standards and Technology.
  1599.     If mail is delivered to an alias that has an owner, deliver any
  1600.         requested return-receipt immediately, and strip the
  1601.         Return-Receipt-To: header from the subsequent message.
  1602.         This prevents a certain class of denial of service
  1603.         attack, arguably gives more reasonable semantics, and
  1604.         moves things more towards what will probably become a
  1605.         network standard.  Suggested by Christopher Davis of
  1606.         Kapor Enterprises.
  1607.     Add a "noreceipts" privacy flag to turn off all return receipts
  1608.         without recompiling.
  1609.     Avoid printing ESMTP parameters as part of the error message
  1610.         if there are errors during parsing.  This change is
  1611.         purely cosmetic.
  1612.     Avoid sending out error messages during the collect phase of
  1613.         SMTP; there is an MVS mailer from UCLA that gets
  1614.         confused by this.  Of course, I think it's their bug....
  1615.     Check for the $j macro getting undefined, losing a dot, or getting
  1616.         lost from $=w in the daemon before accepting a connection;
  1617.         if it is, it dumps state, prints a LOG_ALERT message,
  1618.         and drops core for debugging.  This is an attempt to
  1619.         track down a bug that I thought was long since gone.
  1620.         If you see this, please forward the log fragment to
  1621.         sendmail@sendmail.ORG.
  1622.     Change OLD_NEWDB from a #ifdef to a #if so it can be turned off
  1623.         with -DOLD_NEWDB=0 on the command line.  From Christophe
  1624.         Wolfhugel.
  1625.     Instead of trying to truncate the listen queue for the server
  1626.         SMTP port when the load average is too high, just close
  1627.         the port completely and reopen it later as needed.
  1628.         This ensures that the other end gets a quick "connection
  1629.         refused" response, and that the connection can be
  1630.         recovered later.  In particular, some socket emulations
  1631.         seem to get confused if you tweak the listen queue
  1632.         size around and can never start listening to connections
  1633.         again.  The down side is that someone could start up
  1634.         another daemon process in the interim, so you could
  1635.         have multiple daemons all not listening to connections;
  1636.         this could in turn cause the sendmail.pid file to be
  1637.         incorrect.  A better approach might be to accept the
  1638.         connection and give a 421 code, but that could break
  1639.         other mailers in mysterious ways and have paging behaviour
  1640.         implications.
  1641.     Fix a glitch in TCP-level debugging that caused flag 16.101 to
  1642.         set debugging on the wrong socket.  From Eric Wassenaar.
  1643.     When creating a df* temporary file, be sure you truncate any
  1644.         existing data in the file -- otherwise system crashes
  1645.         and the like could result in extra data being sent.
  1646.     DOC: Replace the CHANGES-R5-R8 readme file with a paper in the
  1647.         doc directory.  This includes some additional
  1648.         information.
  1649.     CONFIG: change UUCP rules to never add $U! or $k! on the front
  1650.         of recipient envelope addresses.  This should have been
  1651.         handled by the $&h trick, but broke if people were
  1652.         mixing domainized and UUCP addresses.  They should
  1653.         probably have converted all the way over to uucp-uudom
  1654.         instead of uucp-{new,old}, but the failure mode was to
  1655.         loop the mail, which was bad news.
  1656.     Portability fixes:
  1657.         Newer BSDI systems (several people).
  1658.         Older BSDI systems from Christophe Wolfhugel.
  1659.         Intergraph CLIX, from Paul Southworth of CICNet.
  1660.         UnixWare, from Evan Champion.
  1661.         NetBSD from Adam Glass.
  1662.         Solaris from Quentin Campbell of the University of
  1663.             Newcastle upon Tyne.
  1664.         IRIX from Dean Cookson and Bill Driscoll of Mitre
  1665.             Corporation.
  1666.         NCR 3000 from Kevin Darcy of Chrysler Financial Corporation.
  1667.         SunOS (it has setsid() and setvbuf() calls) from
  1668.             Jonathan Kamens of OpenVision Technologies.
  1669.         HP-UX from Tor Lillqvist.
  1670.     New Files:
  1671.         src/Makefile.CLIX
  1672.         src/Makefile.NCR3000
  1673.         doc/changes/Makefile
  1674.         doc/changes/changes.me
  1675.         doc/changes/changes.ps
  1676.  
  1677. 8.6.8/8.6.6    94/03/21
  1678.     SECURITY: it was possible to read any file as root using the
  1679.         E (error message) option.  Reported by Richard Jones;
  1680.         fixed by Michael Corrigan and Christophe Wolfhugel.
  1681.  
  1682. 8.6.7/8.6.6    94/03/14
  1683.     SECURITY: it was possible to get root access by using wierd
  1684.         values to the -d flag.  Thanks to Alain Durand of
  1685.         INRIA for forwarding me the notice from the bugtraq
  1686.         list.
  1687.  
  1688. 8.6.6/8.6.6    94/03/13
  1689.     SECURITY: the ability to give files away on System V-based
  1690.         systems proved dangerous -- don't run as the owner
  1691.         of a :include: file on a system that allows giveaways.
  1692.         Unfortunately, this also applies to determining a
  1693.         valid shell.
  1694.     IMPORTANT: Previous versions weren't expiring old connections
  1695.         in the connection cache for a long time under some
  1696.         circumstances.  This could result in resource exhaustion,
  1697.         both at your end and at the other end.  This checks the
  1698.         connections for timeouts much more frequently.  From
  1699.         Doug Anderson of NCSC.
  1700.     Fix a glitch that snuck in that caused programs to be run as
  1701.         the sender instead of the recipient if the mail was
  1702.         from a local user to another local user.  From
  1703.         Motonori Nakamura of Kyoto University.
  1704.     Fix "wildcard" on /etc/shells matching -- instead of looking
  1705.         for "*", look for "/SENDMAIL/ANY/SHELL/".  From
  1706.         Bryan Costales of ICSI.
  1707.     Change the method used to declare the "statfs" availability;
  1708.         instead of HASSTATFS and/or HASUSTAT with a ton of
  1709.         tweaking in conf.c, there is a single #define called
  1710.         SFS_TYPE which takes on one of six values (SFS_NONE
  1711.         for no statfs availability, SFS_USTAT for the ustat(2)
  1712.         syscall, SFS_4ARGS for a four argument statfs(2) call,
  1713.         and SFS_VFS, SFS_MOUNT, or SFS_STATFS for a two argument
  1714.         statfs(2) call with the declarations in <sys/vfs.h>,
  1715.         <sys/mount.h>, or <sys/statfs.h> respectively).
  1716.     Fix glitch in NetInfo support that could return garbage if
  1717.         there was no "/locations/sendmail" property.  From
  1718.         David Meyer of the University of Virginia.
  1719.     Change HASFLOCK from defined/not-defined to a 0/1 definition
  1720.         to allow Linux to turn it off even though it is a
  1721.         BSD-like system.
  1722.     Allow setting of "ident" timeout to zero to turn off the ident
  1723.         protocol entirely.
  1724.     Make 7-bit stripping local to a connection (instead of to a
  1725.         mailer); this allows you to specify that SMTP is a
  1726.         7-bit channel, but revert to 8-bit should it advertise
  1727.         that it supports 8BITMIME.  You still have to specify
  1728.         mailer flag 7 to get this stripping at all.
  1729.     Improve makesendmail script so it handles more cases automatically.
  1730.     Tighten up restrictions on taking ownership of :include: files
  1731.         to avoid problems on systems that allow you to give away
  1732.         files.
  1733.     Fix a problem that made it impossible to rebuild the alias
  1734.         file if it was on a read-only file system.  From
  1735.         Harry Edmon of the University of Washington.
  1736.     Improve MX randomization function.  From John Gardiner Myers
  1737.         of CMU.
  1738.     Fix a minor glitch causing a bogus message to be printed (used
  1739.         %s instead of %d in a printf string for the line number)
  1740.         when a bad queue file was read.  From Harry Edmon.
  1741.     Allow $s to remain NULL on locally generated mail.  I'm not
  1742.         sure this is necessary, but a lot of people have complained
  1743.         about it, and there is a legitimate question as to whether
  1744.         "localhost" is legal as an 822-style domain.
  1745.     Fix a problem with very short line lengths (mailer L= flag) in
  1746.         headers.  This causes a leading space to be added onto
  1747.         continuation lines (including in the body!), and also
  1748.         tries to wrap headers containing addresses (From:, To:,
  1749.         etc) intelligently at the shorter line lengths.  Problem
  1750.         Reported by Lars-Johan Liman of SUNET Operations Center.
  1751.     Log the real user name when logging syserrs, since these can have
  1752.         security implications.  Suggested by several people.
  1753.     Fix address logging of cached connections -- it used to always
  1754.         log the numeric address as zero.  This is a somewhat
  1755.         bogus implementation in that it does an extra system
  1756.         call, but it should be an inexpensive one.  Fix from
  1757.         Motonori Nakamura.
  1758.     Tighten up handling of short syslog buffers even more -- there
  1759.         were cases where the outgoing relay= name was too long
  1760.         to share a line with delay= and mailer= logging.
  1761.     Limit the overhead on split envelopes to one open file descriptor
  1762.         per envelope -- previously the overhead was three
  1763.         descriptors.  This was in response to a problem reported
  1764.         by P{r (Pell) Emanuelsson.
  1765.     Fixes to better handle the case of unexpected connection closes;
  1766.         this redirects the output to the transcript so the info
  1767.         is not lost.  From Eric Wassenaar.
  1768.     Fix potential string overrun if you macro evaluate a string that
  1769.         has a naked $ at the end.  Problem noted by James Matheson
  1770.         <jmrm@eng.cam.ac.uk>.
  1771.     Make default error number on $#error messages 553 (``Requested
  1772.         action not taken: mailbox name not allowed'') instead of
  1773.         501 (``Syntax error in parameters or arguments'') to
  1774.         avoid bogus "protocol error" messages.
  1775.     Strip off any existing trailing dot on names during $[ ... $]
  1776.         lookup.  This prevents it from ending up with two dots
  1777.         on the end of dot terminated names.  From Wesley Craig
  1778.         of the University of Michigan and Bryan Costales of ICSI.
  1779.     Clean up file class reading so that the debugging information is
  1780.         more informative.  It hadn't been using setclass, so you
  1781.         didn't see the class items being added.
  1782.     Avoid core dump if you are running a version of sendmail where
  1783.         NIS is compiled in, and you specify an NIS map, but
  1784.         NIS is not running.  Fix from John Oleynick of
  1785.         Rutgers.
  1786.     Diagnose bizarre case where res_search returns a failure value,
  1787.         but sets h_errno to a success value.
  1788.     Make sure that "too many hops" messages are considered important
  1789.         enough to send an error to the Postmaster (that is, the
  1790.         address specified in the P option).  This fix should
  1791.         help problems that cause the df file to be left around
  1792.         sometimes -- unfortunately, I can't seem to reproduce
  1793.         the problem myself.
  1794.     Avoid core dump (null pointer reference) on EXPN command; this
  1795.         only occurred if your log level was set to 10 or higher
  1796.         and the target account was an alias or had a .forward file.
  1797.         Problem noted by Janne Himanka.
  1798.     Avoid "denial of service" attacks by someone who is flooding your
  1799.         SMTP port with bad commands by shutting the connection
  1800.         after 25 bad commands are issued.  From Kyle Jones of
  1801.         UUNET.
  1802.     Fix core dump on error messages with very long "to" buffers;
  1803.         fmtmsg overflows the message buffer.  Fixed by trimming
  1804.         the to address to 203 characters.  Problem reported by
  1805.         John Oleynick.
  1806.     Fix configuration for HASFLOCK -- there were some spots where
  1807.         a #ifndef was incorrectly #ifdef.  Pointed out by
  1808.         George Baltz of the University of Maryland.
  1809.     Fix a typo in savemail() that could cause the error message To:
  1810.         lists to be incorrect in some places.  From Motonori
  1811.         Nakamura.
  1812.     Fix a glitch that can cause duplicate error messages on split
  1813.         envelopes where an address on one of the lists has a
  1814.         name server failure.  Fix from Voradesh Yenbut of the
  1815.         University of Washington.
  1816.     Fix possible bogus pointer reference on ESMTP parameters that
  1817.         don't have an ``=value'' part.
  1818.     CNAME loops caused an error message to be generated, but also
  1819.         re-queued the message.  Changed to just re-queue the
  1820.         message (it's really hard to just bounce it because
  1821.         of the wierd way the name server works in the presence
  1822.         of CNAME loops).  Problem noted by James M.R.Matheson
  1823.         of Cambridge University.
  1824.     Avoid giving ``warning: foo owned process doing -bs'' messages
  1825.         if they use ``MAIL FROM:<foo>'' where foo is their true
  1826.         user name.  Suggested by Andreas Stolcke of ICSI.
  1827.     Change the NAMED_BIND compile flag to be a 0/1 flag so you can
  1828.         override it easily in the Makefile -- that is, you can
  1829.         turn it off using -DNAMED_BIND=0.
  1830.     If a gethostbyname(...) of an address with a trailing dot fails,
  1831.         try it without the trailing dot.  This is because if
  1832.         you have a version of gethostbyname() that falls back
  1833.         to NIS or the /etc/hosts file it will fail to find
  1834.         perfectly reasonable names that just don't happen to
  1835.         be dot terminated in the hosts file.  You don't want to
  1836.         strip the dot first though because we're trying to ensure
  1837.         that country names that match one of your subdomains get
  1838.         a chance.
  1839.     PRALIASES: fix bogus output on non-null-terminated strings.
  1840.         From Bill Gianopoulos of Raytheon.
  1841.     CONFIG: Avoid rewriting anything that matches $w to be $j.
  1842.         This was in code intended to only catch the self-literal
  1843.         address (that is, [1.2.3.4], where 1.2.3.4 is your
  1844.         IP address), but the code was broken.  However, it will
  1845.         still do this if $M is defined; this is necessary to
  1846.         get client configurations to work (sigh).  Note that this
  1847.         means that $M overrides :mailname entries in the user
  1848.         database!  Problem noted by Paul Southworth.
  1849.     CONFIG: Fix definition of Solaris help file location.  From
  1850.         Steve Cliffe <steve@gorgon.cs.uow.edu.au>.
  1851.     CONFIG: Fix bug that broke news.group.USENET mappings.
  1852.     CONFIG: Allow declaration of SMTP_MAILER_MAX, FAX_MAILER_MAX,
  1853.         and USENET_MAILER_MAX to tweak the maximum message
  1854.         size for various mailers.
  1855.     CONFIG: Change definition of USENET_MAILER_ARGS to include argv[0]
  1856.         instead of assuming that it is "inews" for consistency
  1857.         with other mailers.  From Michael Corrigan of UC San Diego.
  1858.     CONFIG: When mail is forwarded to a LOCAL_RELAY or a MAIL_HUB,
  1859.         qualify the address in the SMTP envelope as user@{relay|hub}
  1860.         instead of user@$j.  From Bill Wisner of The Well.
  1861.     CONFIG: Fix route-addr syntax in nullrelay configuration set.
  1862.     CONFIG: Don't turn off case mapping of user names in the local
  1863.         mailer for IRIX.  This was different than most every other
  1864.         system.
  1865.     CONFIG: Avoid infinite loops on certainly list:; syntaxes in
  1866.         envelope.  Noted by Thierry Besancon
  1867.         <besancon@excalibur.ens.fr>.
  1868.     CONFIG: Don't include -z by default on uux line -- most systems
  1869.         don't want it set by default.  Pointed out by Philippe
  1870.         Michel of Thomson CSF.
  1871.     CONFIG: Fix some bugs with mailertables -- for example, if your
  1872.         host name was foo.bar.ray.com and you matched against
  1873.         ".ray.com", the old implementation bound %1 to "bar"
  1874.         instead of "foo.bar".  Also, allow "." in the mailertable
  1875.         to match anything -- essentially, take over SMART_HOST.
  1876.         This also moves matching of explicit local host names
  1877.         before the mailertable so they don't have to be special
  1878.         cased in the mailertable data.  Reported by Bill
  1879.         Gianopoulos of Raytheon; the fix for the %1 binding
  1880.         problem was contributed by Nicholas Comanos of the
  1881.         University of Sydney.
  1882.     CONFIG: Don't include "root" in class $=L (users to deliver
  1883.         locally, even if a hub or relay exists) by default.
  1884.         This is because of the known bug where definition of
  1885.         both a LOCAL_RELAY and a MAIL_HUB causes $=L to ignore
  1886.         both and deliver into the local mailbox.
  1887.     CONFIG: Move up bitdomain and uudomain handling so that they
  1888.         are done before .UUCP class matching; uudomain was
  1889.         reported as ineffective before.  This also frees up
  1890.         diversion 8 for future use.  Problem reported by Kimmo
  1891.         Suominen.
  1892.     CONFIG: Don't try to convert dotted IP address (e.g., [1.2.3.4])
  1893.         into host names.  As pointed out by Jonathan Kamens,
  1894.         these are often used because either the forward or reverse
  1895.         mapping is broken; this translation makes it broken again.
  1896.     DOC: Clarify $@ and $: in the Install & Op Guide.  From Kimmo
  1897.         Suominen.
  1898.     Portability fixes:
  1899.         Unicos from David L. Kensiski of Sterling Sofware.
  1900.         DomainOS from Don Lewis of Silicon Systems.
  1901.         GNU m4 1.0.3 from Karst Koymans of Utrecht University.
  1902.         Convex from Kimmo Suominen <kim@tac.nyc.ny.us>.
  1903.         NetBSD from Adam Glass <glass@sun-lamp.cs.berkeley.edu>.
  1904.         BSD/386 from Tony Sanders of BSDI.
  1905.         Apollo from Eric Wassenaar.
  1906.         DGUX from Doug Anderson.
  1907.         Sequent DYNIX/ptx 2.0 from Tim Wright of Sequent.
  1908.     NEW FILES:
  1909.         src/Makefile.DomainOS
  1910.         src/Makefile.PTX
  1911.         src/Makefile.SunOS.5.1
  1912.         src/Makefile.SunOS.5.2
  1913.         src/Makefile.SunOS.5.x
  1914.         src/mailq.1
  1915.         cf/ostype/domainos.m4
  1916.         doc/op/Makefile
  1917.         doc/intro/Makefile
  1918.         doc/usenix/Makefile
  1919.  
  1920. 8.6.5/8.6.5    94/01/13
  1921.     Security fix:  /.forward could be owned by anyone (the test
  1922.         to allow root to own any file was backwards).  From
  1923.         Bob Campbell at U.C. Berkeley.
  1924.     Security fix: group ids were not completely set when programs
  1925.         were invoked.  This caused programs to have group
  1926.         permissions they should not have had (usually group
  1927.         daemon instead of their own group).  In particular,
  1928.         Perl scripts would refuse to run.
  1929.     Security: check to make sure files that are written are not
  1930.         symbolic links (at least under some circumstances).
  1931.         Although this does not respond to a specific known
  1932.         attack, it's just a good idea.  Suggested by
  1933.         Christian Wettergren.
  1934.     Security fix: if a user had an NFS mounted home directory on
  1935.         a system with a restricted shell listed in their
  1936.         /etc/passwd entry, they could still execute any
  1937.         program by putting that in their .forward file.
  1938.         This fix prevents that by insisting that their shell
  1939.         appear in /etc/shells before allowing a .forward to
  1940.         execute a program or write a file.  You can disable
  1941.         this by putting "*" in /etc/shells.  It also won't
  1942.         permit world-writable :include: files to reference
  1943.         programs or files (there's no way to disable this).
  1944.         These behaviours are only one level deep -- for
  1945.         example, it is legal for a world-writable :include:
  1946.         file to reference an alias that writes a file, on
  1947.         the assumption that the alias file is well controlled.
  1948.     Security fix: root was not treated suspiciously enough when
  1949.         looking into subdirectories.  This would potentially
  1950.         allow a cracker to examine files that were publically
  1951.         readable but in a non-publically searchable directory.
  1952.     Fix a problem that causes an error on QUIT on a cached
  1953.         connection to create problems on the current job.
  1954.         These are typically unrelated, so errors occur in
  1955.         the wrong place.
  1956.     Reset CurrentLA in sendall() -- this makes sendmail queue
  1957.         runs more responsive to load average, and fixes a
  1958.         problem that ignored the load average in locally
  1959.         generated mail.  From Eric Wassenaar.
  1960.     Fix possible core dump on aliases with null LHS.  From
  1961.         John Orthoefer of BB&N.
  1962.     Revert to using flock() whenever possible -- there are just
  1963.         too many bugs in fcntl() locking, particularly over
  1964.         NFS, that cause sendmail to fail in perverse ways.
  1965.     Fix a bug that causes the connection cache to get confused
  1966.         when sending error messages.  This resulted in
  1967.         "unexpected close" messages.  It should fix itself
  1968.         on the following queue run.  Problem noted by
  1969.         Liudvikas Bukys of the University of Rochester.
  1970.     Include $k in $=k as documented in the Install & Op Guide.
  1971.         This seems odd, but it was documented....  From
  1972.         Michael Corrigan of UCSD.
  1973.     Fix problem that caused :include:s from alias files to be
  1974.         forced to be owned by root instead of daemon
  1975.         (actually DefUid).  From Tim Irvin.
  1976.     Diagnose unrecognized I option values -- from Mortin Forssen
  1977.         of the Chalmers University of Technology.
  1978.     Make "error" mailer work consistently when there is no error
  1979.         code associated with it -- previously it returned OK
  1980.         even though there was a real problem.  Now it assumes
  1981.         EX_UNAVAILABLE.
  1982.     Fix bug that caused the last header line of messages that had
  1983.         no body and which were terminated with EOF instead of
  1984.         "." to be discarded.  Problem noted by Liudvikas Bukys.
  1985.     Fix core dump on SMTP mail to programs that failed -- it tried
  1986.         to go to a "next MX host" when none existed, causing
  1987.         a core dump.  From der Mouse at McGill University.
  1988.     Change IDENTPROTO from a defined/not defined to a 0/1 switch;
  1989.         this makes it easier to turn it off (using
  1990.         -DIDENTPROTO=0 in the Makefile).  From der Mouse.
  1991.     Fix YP_MASTER_NAME store to use the unupdated result of
  1992.         gethostname() (instead of myhostname(), which tries
  1993.         to fully qualify the name) to be consistent with
  1994.         SunOS.  If your hostname is unqualified, this fixes
  1995.         transfers to slave servers.  Bug noted by Keith
  1996.         McMillan of Ameritech Services, Inc.
  1997.     Fix Ultrix problem: gethostbyname() can return a very large
  1998.         (> 500) h_length field, which causes the sockaddr
  1999.         to be trashed.  Use the size of the sockaddr instead.
  2000.         Fix from Bob Manson of Ohio State.
  2001.     Don't assume "-a." on host lookups if NAMED_BIND is not
  2002.         defined -- this confuses gethostbyname on hosts
  2003.         file lookups, which doesn't understand the trailing
  2004.         dot convention.
  2005.     Log SMTP server subprocesses that die with a signal instead
  2006.         of from a clean exit.
  2007.     If you don't have option "I" set, don't assume that a DNS
  2008.         "host unknown" message is authoritative -- it
  2009.         might still be found in /etc/hosts.
  2010.     Fix a problem that would cause Deferred: messages to be sent
  2011.         as the subject of an error message, even though the
  2012.         actual cause of a message was more severe than that.
  2013.         Problem noted by Chris Seabrook of OSSI.
  2014.     Fix race condition in DBM alias file locking.  From Kyle
  2015.         Jones of UUNET.
  2016.     Limit delivery syslog line length to avoid bugs in some
  2017.         versions of syslog(3).  This adds a new compile time
  2018.         variable SYSLOG_BUFSIZE.  From Jay Plett of Princeton
  2019.         University, which is in turn derived from IDA.
  2020.     Fix quotes inside of comments in addresses -- previously
  2021.         it insisted that they be balanced, but the 822 spec
  2022.         says that they should be ignored.
  2023.     Dump open file state to syslog upon receiving SIGUSR1 (for
  2024.         debugging).  This also evaluates ruleset 89, if set
  2025.         (with the null input), and logs the result.  This
  2026.         should be used sparingly, since the rewrite process
  2027.         is not reentrant.
  2028.     Change -qI, -qR, and -qS flags to be case-insensitive as
  2029.         documented in the Bat Book.
  2030.     If the mailer returned EX_IOERR or EX_OSERR, sendmail did not
  2031.         return an error message and did not requeue the message.
  2032.         Fix based on code from Roland Dirlewanger of
  2033.         Reseau Regional Aquarel, Bordeaux, France.
  2034.     Fix a problem that caused a seg fault if you got a 421 error
  2035.         code during some parts of connection initialization.
  2036.         I've only seen this when talking to buggy mailers on
  2037.         the other end, but it shouldn't give a seg fault in
  2038.         any case.  From Amir Plivatsky.
  2039.     Fix core dump caused by a ruleset call that returns null.
  2040.         Fix from Bryan Costales of ICSI.
  2041.     Full-Name: field was being ignored.  Fix from Motonori Nakamura
  2042.         of Kyoto University.
  2043.     Fix a possible problem with very long input lines in setproctitle.
  2044.         From P{r Emanuelsson.
  2045.     Avoid putting "This is a warning message" out on return receipts.
  2046.         Suggested by Douglas Anderson.
  2047.     Detect loops caused by recursive ruleset calls.  Suggested by
  2048.         Bryan Costales.
  2049.     Initialize non-alias maps during alias rebuilds -- they may be
  2050.         needed for parsing.  Problem noted by Douglas Anderson.
  2051.     Log sender address even if no message was collected in SMTP
  2052.         (e.g., if all RCPTs failed).  Suggested by Motonori
  2053.         Nakamura.
  2054.     Don't reflect the owner-list contents into the envelope sender
  2055.         address if the value contains ", :, /, or | (to avoid
  2056.         illegal addresses appearing there).
  2057.     Efficiency hack for toktype macro -- from Craig Partridge of
  2058.         BB&N.
  2059.     Clean up DNS error printing so that a host name is always
  2060.         included.
  2061.     Remember to set $i during queue runs.  Reported by Stephen
  2062.         Campbell of Dartmouth University.
  2063.     If the environment variable HOSTALIASES is set, use it during
  2064.         canonification as the name of a file with per-user host
  2065.         translations so that headers are properly mapped.  Reported
  2066.         by Anne Bennett of Concordia University.
  2067.     Avoid printing misleading error message if SMTP mailer (not
  2068.         using [IPC]) should die on a core dump.
  2069.     Avoid incorrect diagnosis of "file 1 closed" when it is caused
  2070.         by the other end closing the connection.  From
  2071.         Dave Morrison of Oracle.
  2072.     Improve several of the error messages printed by "mailq"
  2073.         to include a host name or other useful information.
  2074.     Add NetInfo preliminary support for NeXT systems.  From Vince
  2075.         DeMarco.
  2076.     Fix a glitch that sometimes caused :include:s that pointed to
  2077.         NFS filesystems that were down to give an "aliasing/
  2078.         forwarding loop broken" message instead of queueing
  2079.         the message for retry.  Noted by William C Fenner of
  2080.         the NRL Connection Machine Facility.
  2081.     Fix a problem that could cause a core dump if the input sequence
  2082.         had (or somehow acquired) a \231 character.
  2083.     Make sure that route-addrs always have <angle brackets> around
  2084.         them in non-SMTP envelopes (SMTP envelopes already do
  2085.         this properly).
  2086.     Avoid wierd headers on unbalanced punctuation of the form:
  2087.         ``Joe User <user)'' -- this caused reference to the
  2088.         null macro.  Fix from Rick McCarty of IO.COM.
  2089.     Fix a problem that caused an alias "user: user@local.host" to
  2090.         not have the QNOTREMOTE bit set; this caused configs
  2091.         to act as if FEATURE(notsticky) was defined even when
  2092.         it was not.  The effect of the problem was to make it
  2093.         very hard to to set up satellite sites that had a few
  2094.         local accounts, with everything else forwarded to a
  2095.         corporate hub.  Reported by Detlef Drewanz of the
  2096.         University of Rostock and Mark Frost of NCD.
  2097.     Change queuing to not call rulesets 3, {1 or 2}, 4 on header
  2098.         addresses.  This is more efficient (fewer name server
  2099.         calls) and fixes certain unusual configurations, such
  2100.         as those that have ruleset 4 do something that is
  2101.         non-idempotent unless a mailer-specific ruleset did
  2102.         something else.  Problem reported by Brian J. Coan
  2103.         of the Institute for Global Communications.
  2104.     Fix the "obsolete argument" routine in main to better understand
  2105.         new arguments.  For example, if you used ``sendmail
  2106.         -C config -v -q'' it would choke on the -q because
  2107.         the -C would stop looking for old-format arguments.
  2108.     Fix the code that was intended to allow two users to forward their
  2109.         mail to the same program and have them appear unique.
  2110.     Portability fixes for:
  2111.         SCO UNIX from Murray Kucherawy.
  2112.         SCO Open Server 3.2v4 from Philippe Brand.
  2113.         System V Release 4 from Rick Ellis and others.
  2114.         OSF/1 from Steve Campbell.
  2115.         DG/UX from Ben Mesander of the USGS and Bryan Curnutt
  2116.             of Stoner Associates.
  2117.         Motorola SysV88 from Kevin Johnson of Motorola.
  2118.         Solaris 2.3 from Casper H.S. Dik of the University
  2119.             of Amsterdam and John Caruso of University
  2120.             of Maryland.
  2121.         FreeBSD from Ollivier Robert.
  2122.         NetBSD from Adam Glass.
  2123.         TitanOS from Kate Hedstrom of Rutgers University.
  2124.         Irix from Bryan Curnutt.
  2125.         Dynix from Jim Davis of the University of Arizona.
  2126.         RISC/os.
  2127.         Linux from John Kennedy of California State University
  2128.             at Chico.
  2129.         Solaris 2.x from Tony Boner of the U.S. Air Force.
  2130.         NEXTSTEP 3.x from Vince DeMarco.
  2131.         HP-UX from various people.  NOTA BENE:  the location
  2132.             of the config file has moved to /usr/lib
  2133.             to match the HP-UX version of sendmail.
  2134.     CONFIG: Don't do any recipient rewriting on relay mailer;
  2135.         since this is intended only for internal use, the
  2136.         usual RFC 821/822/1123 rules can be relaxed.  The
  2137.         main point of this is to avoid munging (ugh) UUCP
  2138.         addresses when relaying internally.
  2139.     CONFIG: fix typo in mailer/uucp.m4 that mutilates list:;
  2140.         syntax addresses delivered via UUCP.  Solution
  2141.         provided by Peter Wemm.
  2142.     CONFIG: fix thumb-fumble in default UUCP relaying in ruleset
  2143.         zero; it caused double @ signs in addresses.  From
  2144.         Irving Reid of the University of Toronto.
  2145.     CONFIG: Portability fixes for SCO Unix 3.2 with TCP/IP 1.2.1
  2146.         from Markku Toijala of ICL Personal Systems Oy.
  2147.     CONFIG: Add trailing "." on pseudo-domains for consistency;
  2148.         this fixes a problem (noted by Al Whaley of Sunnyside)
  2149.         that made it hard to recognize your own pseudodomain
  2150.         names.
  2151.     CONFIG: catch "@host" syntax errors (i.e., null local-parts)
  2152.         rather than letting them get "local configuration
  2153.         error"s.  Problem noted by John Gardiner Myers.
  2154.     CONFIG: add uucp-uudom mailer variant, based on code posted
  2155.         by Spider Boardman <spider@Orb.Nashua.NH.US>; this
  2156.         has uucp-dom semantics but old UUCP syntax.  This
  2157.         also permits "uucp-old" as an alias for "uucp" and
  2158.         "uucp-new" as a synonym for "suucp" for consistency.
  2159.     CONFIG: add POP mailer support (from Kimmo Suominen
  2160.         <kim@grendel.lut.fi>).
  2161.     CONFIG: drop CSNET_RELAY support -- CSNET is long gone.
  2162.     CONFIG: fix bug caused with domain literal addresses (e.g.,
  2163.         ``[128.32.131.12]'') when FEATURE(allmasquerade)
  2164.         was set; it would get an additional @masquerade.host
  2165.         added to the address.  Problem noted by Peter Wan
  2166.         of Georgia Tech.
  2167.     CONFIG: make sure that the local UUCP name is in $=w.  From
  2168.         Jim Murray of Stratus.
  2169.     CONFIG: changes to UUCP rewriting to simulate IDA-style "V"
  2170.         mailer flag.  Briefly, if you are sending to host
  2171.         "foo", then it rewrites "foo!...!baz" to "...!baz",
  2172.         "foo!baz" remains "foo!baz", and anything else has
  2173.         the local name prepended.
  2174.     CONFIG: portability fixes for HP-UX.
  2175.     DOC: several minor problems fixed in the Install & Op Guide.
  2176.     MAKEMAP: fix core dump problem on lines that are too long or
  2177.         which lack newline.  From Mark Delany.
  2178.     MAILSTATS: print sums of columns (total messages & kbytes
  2179.         in and out of the system).  From Tom Ferrin of UC
  2180.         San Francisco Computer Graphics Lab.
  2181.     SIGNIFICANT USER- OR SYSAD-VISIBLE CHANGES:
  2182.         On HP-UX, /etc/sendmail.cf has been moved to
  2183.             /usr/lib/sendmail.cf to match HP sendmail.
  2184.         Permissions have been tightened up on world-writable
  2185.             :include: files and accounts that have shells
  2186.             that are not listed in /etc/shells.  This may
  2187.             cause some .forward files that have worked
  2188.             before to start failing.
  2189.         SIGUSR1 dumps some state to the log.
  2190.     NEW FILES:
  2191.         src/Makefile.DGUX
  2192.         src/Makefile.Dynix
  2193.         src/Makefile.FreeBSD
  2194.         src/Makefile.Mach386
  2195.         src/Makefile.NetBSD
  2196.         src/Makefile.RISCos
  2197.         src/Makefile.SCO
  2198.         src/Makefile.SVR4
  2199.         src/Makefile.Titan
  2200.         cf/mailer/pop.m4
  2201.         cf/ostype/bsdi1.0.m4
  2202.         cf/ostype/dgux.m4
  2203.         cf/ostype/dynix3.2.m4
  2204.         cf/ostype/sco3.2.m4
  2205.         makemap/Makefile.dist
  2206.         praliases/Makefile.dist
  2207.  
  2208. 8.6.4/8.6.4    93/10/31
  2209.     Repair core-dump problem (write to read-only memory segment)
  2210.         if you fall back to the return-to-Postmaster case in
  2211.         savemail.  Problem reported by Richard Liu.
  2212.     Immediately diagnose bogus sender addresses in SMTP.  This
  2213.         makes quite certain that crackers can't use this
  2214.         class of attack.
  2215.     Reliability Fix:  check return value from fclose() and fsync()
  2216.         in a few critical places.
  2217.     Minor problem in initsys() that reversed a condition for
  2218.         redirecting the output channel on queue runs.  It's
  2219.         not clear this code even does anything.  From Eric
  2220.         Wassenaar of the Dutch National Institute for Nuclear
  2221.         and High-Energy Physics.
  2222.     Fix some problems that caused queue runs to do "too much work",
  2223.         such as double-reading the Errors-To: header.  From
  2224.         Eric Wassenaar.
  2225.     Error messages on writing the temporary file (including the
  2226.         data file) were getting suppressed in SMTP -- this
  2227.         fix causes them to be properly reported.  From Eric
  2228.         Wassenaar.
  2229.     Some changes to support AF_UNIX sockets -- this will only
  2230.         really become relevant in the next release, but some
  2231.         people need it for local patches.  From Michael
  2232.         Corrigan of UC San Diego.
  2233.     Use dynamically allocated memory (instead of static buffers)
  2234.         for macros defined in initsys() and settime(); since
  2235.         these can have different values depending on which
  2236.         envelope they are in.  From Eric Wassenaar.
  2237.     Improve logging to show ctladdr on to= logging; this tells you
  2238.         what uid/gid processes ran as.
  2239.     Fix a problem that caused error messages to be discarded if
  2240.         the sender address was unparseable for some reason;
  2241.         this was supposed to fall back to the "return to
  2242.         postmaster" case.
  2243.     Improve aliaswait backoff algorithm.
  2244.     Portability patches for Linux (8.6.3 required another header
  2245.         file) (from Karl London) and SCO UNIX.
  2246.     CONFIG: patch prog mailer to not strip host name off of envelope
  2247.         addresses (so that it matches local again).  From
  2248.         Christopher Davis.
  2249.     CONFIG: change uucp-dom mailer so that "<>" translates to $n;
  2250.         this prevents uux from seeing lines with null names like
  2251.         ``From   Sat Oct 30 14:55:31 1993''.  From Motonori
  2252.         Nakamura of Kyoto University.
  2253.     CONFIG: handle <list:;> syntax correctly.  This isn't legal, but
  2254.         it shouldn't fail miserably.  From Motonori Nakamura.
  2255.  
  2256. 8.6.2/8.6.2    93/10/15
  2257.     Put a "successful delivery" message in the transcript for
  2258.         addresses that get return-receipts.
  2259.     Put a prominent "this is only a warning" message in warning
  2260.         messages -- some people don't read carefully enough
  2261.         and end up sending the message several times.
  2262.     Include reason for temporary failure in the "warning" return
  2263.         message.  Currently, it just says "cannot send for
  2264.         four hours".
  2265.     Fix the "Original message received" time generated for
  2266.         returntosender messages.  It was previously listed as
  2267.         the current time.  Bug reported by Eric Hagberg of
  2268.         Cornell University Medical College.
  2269.     If there is an error when writing the body of a message,
  2270.         don't send the trailing dot and wait for a response
  2271.         in sender SMTP, as this could cause the connection to
  2272.         hang up under some bizarre circumstances.  From Eric
  2273.         Wassenaar.
  2274.     Fix some server SMTP synchronization problems caused when
  2275.         connections fail during message collection.  From
  2276.         Eric Wassenaar.
  2277.     Fix a problem that can cause srvrsmtp to reject mail if the
  2278.         name server is down -- it accepts the RCPT but rejects
  2279.         the DATA command.  Problem reported by Jim Murray of
  2280.         Stratus.
  2281.     Fix a problem that can cause core dumps if the config file
  2282.         incorrectly resolves to a null hostname.  Reported by
  2283.         Allan Johannesen of WPI.
  2284.     Non-root use of -C flag, dangerous -f flags, and use of -oQ
  2285.         by non-root users were not put into
  2286.         X-Authentication-Warning:s as intended because the
  2287.         config file hadn't set the PrivacyFlags yet.  Fix
  2288.         from Sven-Ove Westberg of the University of Lulea.
  2289.     Under very odd circumstances, the alias file rebuild code
  2290.         could get confused as to whether a database was
  2291.         open or not.
  2292.     Check "vendor code" on the end of V lines -- this is
  2293.         intended to provide a hook for vendor-specific
  2294.         configuration syntax.  (This is a "new feature",
  2295.         but I've made an exception to my rule in a belief
  2296.         that this is a highly exceptional case.)
  2297.     Portability fixes for DG/UX (from Douglas Anderson of NCSC),
  2298.         SCO Unix (from Murray Kucherawy), A/UX, and OSF/1
  2299.         (from Jon Forrest of UC Berkeley)
  2300.     CONFIG: fix ``mailer:host'' form of UUCP relay naming.
  2301.  
  2302. 8.6.1/8.6    93/10/08
  2303.     Portability fixes for A/UX and Encore UMAX V.
  2304.     Fix error message handling -- if you had a name server down
  2305.         causing an error during parsing, that message was never
  2306.         propogated to the queue file.
  2307.  
  2308. 8.6/8.6        93/10/05
  2309.     Configuration cleanup: make it easier to undo IDENTPROTO in
  2310.         conf.h (other systems have the same bug).
  2311.     If HASGETDTABLESIZE and _SC_OPEN_MAX are both defined, assume
  2312.         getdtablesize() instead of sysconf(); a disturbingly
  2313.         large number of systems defined _SC_OPEN_MAX in the
  2314.         header files but don't have the syscall.
  2315.     Another patch to really truly ignore MX records in getcanonname
  2316.         if trymx == FALSE.
  2317.     Fix problem that caused the "250 IAA25499 Message accepted for
  2318.         delivery" message to be omitted if there was an error
  2319.         in the header of the message (e.g., a bad Errors-To:
  2320.         line).  Pointed out by Michael Corrigan of UCSD.
  2321.     Announce name of host we are chatting when we get errors; this
  2322.         is an IDA-ism suggested by Christophe Wolfhugel.
  2323.     Portability fixes for Alpha OSF/1 (from Anthony Baxter of the
  2324.         Australian Artificial Intelligence Institute), SCO Unix
  2325.         (from Murray Kucherawy of Hookup Communication Corp.),
  2326.         NeXT (from Vince DeMarco and myself), Linux (from
  2327.         Karl London <karl@borg.demon.co.uk>), BSDI (from
  2328.         Christophe Wolfhugel, and SVR4 on Dell (from Kimmo
  2329.         Suominen), AUX 3.0 on Macintosh, and ANSI C compilers.
  2330.     Some changes to get around gcc optimizer bugs.  From Takahiro
  2331.         Kanbe.
  2332.     Fix error recovery in queueup if another tf file of the same
  2333.         name already exists.  Problem stumbled over by Bill
  2334.         Wisner of The Well.
  2335.     Output YP_MASTER_NAME and YP_LAST_MODIFIED without null bytes.
  2336.         Problem noted by Keith McMillan of Ameritech Services.
  2337.     Deal with group permissions properly when opening .forward and
  2338.         :include: files.  This relaxes the 8.1C restrictions
  2339.         slightly more.  This includes proper setting of groups
  2340.         when reading :include: files, allowing you to read some
  2341.         files that you should be able to read but have previously
  2342.         been denied unless you owned them or they had "other"
  2343.         read permission.
  2344.     Make certain that $j is in $=w (after the .cf is read) so that
  2345.         if the user is forced to override some silly system,
  2346.         MX suppression will still work.
  2347.     Fix a couple of efficiency problems where newstr was double-
  2348.         calling expensive routines.  In at least one case, it
  2349.         wasn't guaranteed that they would always return the
  2350.         same result.  Problem noted by Christophe Wolfhugel.
  2351.     Fix null pointer dereference in putoutmsg -- only on an error
  2352.         condition from a non-SMTP mailer.  From Motonori
  2353.         Nakamura.
  2354.     Macro expand "C" line class definitions before scanning so that
  2355.         "CX $Z" works.
  2356.     Fix problem that caused error message to be sent while still
  2357.         trying to send the original message if the connection
  2358.         is closed during a DATA command after getting an error
  2359.         on an RCPT command (pretty obscure).  Problem reported
  2360.         by John Myers of CMU.
  2361.     Fix reply to NOOP to be 250 instead of 200 -- this is a long
  2362.         term bug.
  2363.     Fix a nasty bug causing core dumps when returning the "warning:
  2364.         cannot deliver for N hours -- will keep trying" message;
  2365.         it only occurred if you had PostMasterCopy set and
  2366.         only on some architectures.  Although sendmail would
  2367.         keep trying, it would send error messages on each
  2368.         queue interval.  This is an important fix.
  2369.     Allow u and g options to take user and group names respectively.
  2370.     Don't do a chdir into the queue directory in -bt mode to make
  2371.         ruleset testing a bit easier.
  2372.     Don't allow users to turn off logging (using -oL) on the command
  2373.         line -- command line can only raise, not lower, logging
  2374.         level.
  2375.     Set $u to the original recipient on the SMTP transaction or on
  2376.         the command line.  This is only done if there is exactly
  2377.         one recipient.  Technically, this does not meet the
  2378.         specs, because it does not guarantee a domain on the
  2379.         address.
  2380.     Fix a problem that dumped error messages on bad addresses if
  2381.         you used the -t flag.  Problem noted by Josh Smith of
  2382.         Harvey Mudd College.
  2383.     Given an address such as ``<foo> <bar>'', auto-quote the first
  2384.         ``<foo>'' part, giving ``"<foo>" <bar>''.  This is to
  2385.         avoid the problem of people who use angle brackets in
  2386.         their full name information.
  2387.     Fix a null pointer dereference if you set option "l", have
  2388.         an Errors-To: header in the message, and have Errors-To:
  2389.         defined in the config file H lines.  From J.R. Oldroyd.
  2390.     Put YPCOMPAT on #ifdef NIS instead -- it's one less thing to get
  2391.         wrong when compiling.  Suggested by Rick McCarty of TI.
  2392.     Fix a problem that could pass negative SIZE parameter if the
  2393.         df file got lost; this would cause servers to always
  2394.         give a temporary failure, making the problem even worse.
  2395.         Problem noted by Allan Johannesen of WPI.
  2396.     Add "ident" timeout (one of the "r" option selectors) for IDENT
  2397.         protocol timeouts (30s default).  Requested by Murray
  2398.         Kucherawy of HookUp Communication Corp. to handle bogus
  2399.         PC TCP/IP implementations.
  2400.     Change $w default definition to be just the first component of
  2401.         the domain name on config level 5.  The $j macro defaults
  2402.         to the FQDN; $m remains as before.  This lets well-behaved
  2403.         config files use any of the short, long, or subdomain
  2404.         names.
  2405.     Add makesendmail script in src to try to automate multi-architecture
  2406.         builds.  I know, this is sub-optimal, but it is still
  2407.         helpful.
  2408.     Fix very obscure race condition that can cause a queue run to
  2409.         get a queue file for an already completed job.  This
  2410.         problem has existed for years.  Problem noted by the
  2411.         long suffering Allan Johannesen of WPI.
  2412.     Fix a problem that caused the raw sender name to be passed to
  2413.         udbsender instead of the canonified name -- this caused
  2414.         it to sometimes miss records that it should have found.
  2415.     Relax check of name on HELO packet so that a program using -bs
  2416.         that claims to be itself works properly.
  2417.     Restore rewriting of $: part of address through 2, R, 4 in
  2418.         buildaddr -- this requires passing a lot of flags to get
  2419.         it right.  Unlike old versions, this ONLY rewrites
  2420.         recipient addresses, not sender addresses.
  2421.     Fix a bug that caused core dumps in config files that cannot
  2422.         resolve /file/name style addresses.  Fix from Jonathan
  2423.         Kamens of OpenVision Technologies.
  2424.     Fix problem with fcntl locking that can cause error returns to
  2425.         be lost if the lock is lost; this required fully
  2426.         queueing everything, dropping the envelope (so errors
  2427.         would get returned), and then re-reading the queue from
  2428.         scratch.
  2429.     Fix a problem that caused aliases that redefine an otherwise
  2430.         true address to still send to the original address
  2431.         if and only if the alias failed in certain bizarre
  2432.         ways (e.g, if they pointed at a list:; syntax address).
  2433.         Problem pointed out by Jonathan Kamens.
  2434.     Remove support for frozen configuration files.  They caused
  2435.         more trouble than it was worth.
  2436.     Fix problem that can cause error messages to get ignored when
  2437.         using both -odb and -t flags.  Problem noted by Rob
  2438.         McNicholas at U.C. Berkeley.
  2439.     Include all "normal" variations on hostname in $=w.  For example,
  2440.         if the host name is vangogh.cs.berkeley.edu, $=w will
  2441.         contain vangogh, vangogh.cs, and vangogh.cs.berkeley.edu.
  2442.     Add "restrictqrun" privacy flag -- without this, anyone can run
  2443.         the queue.
  2444.     Reset SmtpPhase global on initial connection creation so that
  2445.         messages don't come out with stale information.
  2446.     Pass an "ext" argument to lockfile so that error/log messages
  2447.         will properly reflect the true filename being locked.
  2448.     Put all [...] address forms into $=w -- this eliminates the need
  2449.         for MAXIPADDR in conf.h.  Suggested by John Gardiner
  2450.         Myers of CMU.
  2451.     Fix a bug that can cause qf files to be left around even after
  2452.         an SMTP RSET command.  Problem and fix from Michael
  2453.         Corrigan.
  2454.     Don't send a PostMasterCopy to errors when the Precedence: is
  2455.         negative.  Error reports still go to the envelope
  2456.         sender address.
  2457.     Add LA_SHORT for load averages.
  2458.     Lock sendmail.st file when posting statistics.
  2459.     Add "SendBufSize" and "RcvBufSize" suboptions to "O" option to
  2460.         set the size of the TCP send and receive buffers; if you
  2461.         run over a slow slip line you may need to set these down
  2462.         (although it would be better to fix the SLIP implementation
  2463.         so that it's not necessary to recompile every program
  2464.         that does bulk data transfer).
  2465.     Allow null defaults on $( ... $) lookups.  Problem reported by
  2466.         Amir Plivatsky.
  2467.     Diagnose crufty S and V config lines.  This resulted from an
  2468.         observation that some people were using the SITE macro
  2469.         without the SITECONFIG macro first, which was causing
  2470.         bogus config files that were not caught.
  2471.     Fix makemap -f flag to turn off case folding (it was turning it
  2472.         on instead).  THIS IS A USER VISIBLE CHANGE!!!
  2473.     Fix a problem that caused multiple error messages to be sent if
  2474.         you used "sendmail -t -oem -odb", your system uses fcntl
  2475.         locking, and one of the recipient addresses is unknown.
  2476.     Reset uid earlier in include() so that recursive .forwards or
  2477.         :include:s don't use the wrong uid.
  2478.     If file descriptor 0, 1, or 2 was closed when sendmail was
  2479.         called, the code to recover the descriptor was broken.
  2480.         This sometimes (only sometimes) caused problems with the
  2481.         alias file.  Fix from Motonori Nakamura.
  2482.     Fix a problem that caused aliaswait to go into infinite recursion
  2483.         if the @:@ metasymbol wasn't found in the alias file.
  2484.     Improve error message on newaliases if database files cannot be
  2485.         opened or if running with no database format defined.
  2486.     Do a better estimation of the size of error messages when NoReturn
  2487.         is set.  Problem noted by P{r (Pell) Emanuelsson.
  2488.     Fix a problem causing the "c" option (don't connect to expensive
  2489.         mailers) to be ignored in SMTP.  Problem noted and the
  2490.         solution suggested by Robert Elz of Munnari University.
  2491.     Improve connection caching algorithm by passing "[host]" to
  2492.         hostsignature, which strips the square brackets and
  2493.         returns the real name.  This allows mailertable entries
  2494.         to match regular entries.
  2495.     Re-enable Return-Receipt-To: -- people seem to want this stupid
  2496.         feature, even if it doesn't work right.
  2497.     Catch and log attempts to try the "wiz" command in server SMTP.
  2498.         This also ups the log level from LOG_NOTICE to LOG_CRIT.
  2499.     Be more generous at assigning $z to the home directory -- do this
  2500.         for programs that are specified through a .forward file.
  2501.         Fix from Andrew Chang of Sun Microsystems.
  2502.     Always save a fatal error message in preference to a non-fatal
  2503.         error message so that the "subject" line of return
  2504.         messages is the best possible.
  2505.     CONFIG: reduce the number of quotes needed to quote configuration
  2506.         parameters with commas: two quotes should work now, e.g.,
  2507.         define(ALIAS_FILE, ``/etc/aliases,/etc/aliases.local'').
  2508.     CONFIG: class $=Z is a set of UUCP hosts that use uucp-dom
  2509.         connections (domain-ized UUCP).
  2510.     CONFIG: fix bug in default maps (-o must be before database file
  2511.         name).  Pointed out by Christophe Wolfhugel.  
  2512.     CONFIG: add FEATURE(nodns) to state that we are not relying on
  2513.         DNS.  This would presumably be used in UUCP islands.
  2514.     CONFIG: add OSTYPE(nextstep) and OSTYPE(linux).
  2515.     CONFIG: log $u in Received: line.  This is in technical violation
  2516.         of the standards, since it doesn't guarantee a domain
  2517.         on the address.
  2518.     CONFIG: don't assume "m" in local mailer flags -- this means that
  2519.         if you redefine LOCAL_MAILER_FLAGS you will have to include
  2520.         the "m" flag should you want it.  Apparently some Solaris 2.2
  2521.         installations can't handle multiple local recipients.
  2522.         Problem noted by Josh Smith.
  2523.     CONFIG: add confDOMAIN_NAME to set $j (if undefined, $j defaults).
  2524.     CONFIG: change default version level from 4 to 5.
  2525.     CONFIG: add FEATURE(nullclient) to create a config file that
  2526.         forwards all mail to a hub without ever looking at the
  2527.         addresses in any detail.
  2528.     CONFIG: properly strip mailer: information off of relays when
  2529.         used to change .BITNET form into %-hack form.
  2530.     CONFIG: fix a problem that caused infinite loops if presented
  2531.         with an address such as "!foo".
  2532.     CONFIG: check for self literal (e.g., [128.32.131.12]) even if
  2533.         the reverse "PTR" mapping is broken.  There's a better
  2534.         way to do this, but the change is fairly major and I
  2535.         want to hold it for another release.  Problem noted by
  2536.         Bret Marquis.
  2537.  
  2538. 8.5/8.5        93/07/23
  2539.     Serious bug: if you used a command line recipient that was unknown
  2540.         sendmail would not send a return message (it was treating
  2541.         everything as though it had an SMTP-style client that
  2542.         would do the return itself).  Problem noted by Josh Smith.
  2543.     Change "trymx" option in getcanonname() to ignore all MX data,
  2544.         even during a T_ANY query.  This actually didn't break
  2545.         anything, because the only time you called getcanonname
  2546.         with !trymx was if you already knew there were no MX
  2547.         records, but it is somewhat cleaner.  From Motonori
  2548.         Nakamura.
  2549.     Don't call getcanonname from getmxrr if you already know there
  2550.         are no DNS records matching the name.
  2551.     Fix a problem causing error messages to always include "The
  2552.         original message was received ... from localhost".
  2553.         The correct original host information is now included.
  2554.     Previous change to cf/sh/makeinfo.sh doesn't port to Ultrix (their
  2555.         version of "test" doesn't have the -x flag).  Change it
  2556.         to use -f instead.  From John Myers.
  2557.     CONFIG: 8.4 mistakenly set the default SMTP-style mailer to
  2558.         esmtp -- it should be smtp.
  2559.     CONFIG: send all relayed mail using confRELAY_MAILER (defaults
  2560.         to "relay" (a variant of "smtp") if MAILER(smtp) is used,
  2561.         else "suucp" if MAILER(uucp) is used, else "unknown");
  2562.         this cleans up the configs somewhat.  This fixes a serious
  2563.         problem that caused route-addrs to get mistaken as relays,
  2564.         pointed out by John Myers.  WARNING: this also causes
  2565.         the default on SMART_HOST to change from "suucp" to
  2566.         "relay" if you have MAILER(smtp) specified.
  2567.  
  2568. 8.4/8.4        93/07/22
  2569.     Add option `w'.  If you receive a message that comes to you because
  2570.         you are the best (lowest preference) target of an MX, and
  2571.         you haven't explicitly recognized the source MX host in
  2572.         your .cf file, this option will cause you to try the target
  2573.         host directly (as if there were no MX for it at all).  If
  2574.         `w' is not set, this case is a configuration error.
  2575.         Beware: if `w' is set, senders may get bogus errors like
  2576.         "message timed out" or "host unknown" for problems that
  2577.         are really configuration errors.  This option is
  2578.         disrecommended, provided only for compatibility with
  2579.         UIUC sendmail.
  2580.     Fix a problem that caused the incoming socket to be left open
  2581.         when sendmail forks after the DATA command.  This caused
  2582.         calling systems to wait in FIN_WAIT_2 state until the
  2583.         entire list was processed and the child closed -- a
  2584.         potentially prodigious amount of time.  Problem noted
  2585.         by Neil Rickert.
  2586.     Fix problem (created in 6.64) that caused mail sent to multiple
  2587.         addresses, one of which was a bad address, to completely
  2588.         suppress the sending of the message.  This changes
  2589.         handling of EF_FATALERRS somewhat, and adds an
  2590.         EF_GLOBALERRS flag.  This also fixes a potential problem
  2591.         with duplicate error messages if there is a syntax error
  2592.         in the header of a message that isn't noticed until late
  2593.         in processing.  Original problem pointed out by Josh Smith
  2594.         of Harvey Mudd College.  This release includes quite a bit
  2595.         of dickering with error handling (see below).
  2596.     Back out SMTP transaction if MAIL gets nested 501 error.  This
  2597.         will only hurt already-broken software and should help
  2598.         humans.
  2599.     Fix a problem that broke aliases when neither NDBM nor NEWDB were
  2600.         compiled in.  It would never read the alias file.
  2601.     Repair unbalanced `)' and `>' (the "open" versions are already
  2602.         repaired).
  2603.     Logging of "done" in dropenvelope() was incorrect: it would
  2604.         log this even when the queue file still existed.  Change
  2605.         this to only log "done" (at log level 11) when the
  2606.         queue file is actually removed.  From John Myers.
  2607.     Log "lost connection" in server SMTP at log level 20 if there
  2608.         is no pending transaction.  Some senders just close the
  2609.         connection rather than sending QUIT.
  2610.     Fix a bug causing getmxrr to add a dot to the end of unqualified
  2611.         domains that do not have MX records -- this would cause
  2612.         the subsequent host name lookup to fail.  The problem
  2613.         only occurred if you had FEATURE(nocanonify) set.
  2614.         Problem noted by Rick McCarty of Texas Instruments.
  2615.     Fix invocation of setvbuf when passed a -X flag -- I had
  2616.         unwittingly used an ANSI C extension, and this caused
  2617.         core dumps on some machines.
  2618.     Diagnose self-destructive alias loops on RCPT as well as EXPN.
  2619.         Previously it just gave an empty send queue, which
  2620.         then gave either "Need RCPT (recipient)" at the DATA
  2621.         (confusing, since you had given an RCPT command which
  2622.         returned 250) or just dropped the email, depending on
  2623.         whether you were running VERBose mode.  Now it usually
  2624.         diagnoses this case as "aliasing/forwarding loop broken".
  2625.         Unfortunately, it still doesn't adequately diagnose
  2626.         some true error conditions.
  2627.     Add internal concept of "warning messages" using 6xx codes.
  2628.         These are not reported only to Postmaster.  Unbalanced
  2629.         parens, brackets, and quotes are printed as 653 codes.
  2630.         They are always mapped to 5xx codes before use in SMTP.
  2631.     Clean up error messages to tell both the actual address that
  2632.         failed and the alias they arose from.  This makes it
  2633.         somewhat easier to diagnose problems.  Difficulty noted
  2634.         by Motonori Nakamura.
  2635.     Fix a problem that inappropriately added a ctladdr to addresses
  2636.         that shouldn't have had one during a queue run.  This
  2637.         caused error messages to be handled differently during
  2638.         a queue run than a direct run.
  2639.     Don't print the qf name and line number if you get errors during
  2640.         the direct run of the queue from srvrsmtp -- this was
  2641.         just extra stuff for users to crawl through.
  2642.     Put command line flags on second line of pid file so you can
  2643.         auto-restart the daemon with all appropriate arguments.
  2644.         Use "kill `head -1 /etc/sendmail.pid`" to stop the
  2645.         daemon, and "eval `tail -1 /etc/sendmail.pid`" to
  2646.         restart it.
  2647.     Remove the ``setuid(getuid())'' in main -- this caused the
  2648.         IDENT daemon to screw up.  This required that I change
  2649.         HASSETEUID to HASSETREUID and complicate the mode
  2650.         changing somewhat because both Ultrix and SunOS seem
  2651.         to have a bug causing seteuid() to set the saved uid
  2652.         as well as the effective.  The program test/t_setreuid.c
  2653.         will test to see if your implementation of setreuid(2)
  2654.         is appropriately functional.
  2655.     The FallBackMX (option V) handling failed to properly identify
  2656.         fallback to yourself -- most of the code was there,
  2657.         but it wasn't being enabled.  Problem noted by Murray
  2658.         Kucherawy of the University of Waterloo.
  2659.     Change :include: open timeout from ETIMEDOUT to an internal
  2660.         code EOPENTIMEOUT; this avoids adding "during SmtpPhase
  2661.         with CurHostName" in error messages, which can be
  2662.         confusing.  Reported by Jonathan Kamens of OpenVision
  2663.         Technologies.
  2664.     Back out setpgrp (setpgid on POSIX systems) call to reset the
  2665.         process group id.  The original fix was to get around
  2666.         some problems with recalcitrant MUAs, but it breaks
  2667.         any call from a shell that creates a process group id
  2668.         different from the process id.  I could try to fix
  2669.         this by diddling the tty owner (using tcsetpgrp or
  2670.         equivalent) but this is too likely to break other
  2671.         things.
  2672.     Portability changes:
  2673.         Support -M as equivalent to -oM on Ultrix -- apparently
  2674.             DECnet calls sendmail with -MrDECnet -Ms<HOST> -bs
  2675.             instead of using standard flags.  Oh joy.  This
  2676.             behaviour reported by Jon Giltner of University
  2677.             of Colorado.
  2678.         SGI IRIX  -- this includes several changes that should
  2679.             help other strict ANSI compilers.
  2680.         SCO Unix -- from Murray Kucherawy of HookUp Communication
  2681.             Corporation.
  2682.         Solaris running the Sun C compiler (which despite the
  2683.             documentation apparently doesn't define
  2684.             __STDC__ by default).
  2685.         ConvexOS from Eric Schnoebelen of Convex.
  2686.         Sony NEWS workstations and Omron LUNA workstations from
  2687.             Motonori Nakamura.
  2688.     CONFIG: add confTRY_NULL_MX_LIST to set option `w'.
  2689.     CONFIG: delete `C' and `e' from default SMTP mailers flags;
  2690.         several people have made a good argument that this
  2691.         creates more problems than it solves (although this
  2692.         may prove painful in the short run).
  2693.     CONFIG: generalize all the relays to accept a "mailer:host"
  2694.         format.
  2695.     CONFIG: move local processing in ruleset 0 into a new ruleset
  2696.         98 (8 on old sendmail).  Domain literal [a.b.c.d]
  2697.         addresses are also passed through this ruleset.
  2698.     CONFIG: if neither SMART_HOST nor MAILER(smtp) were defined,
  2699.         internet-style addresses would "fall off the end" of
  2700.         ruleset zero and be interpreted as local -- however,
  2701.         the angle brackets confused the recursive call.
  2702.         These are now diagnosed as "Unrecognized host name".
  2703.     CONFIG: USENET rules weren't included in S0 because of a mistaken
  2704.         ifdef(`_MAILER_USENET_') instead of
  2705.         ifdef(`_MAILER_usenet_').  Problem found by Rein Tollevik
  2706.         of SINTEF RUNIT, Oslo.
  2707.     CONFIG: move up LOCAL_RULE_0 processing so that it happens very
  2708.         early in ruleset 0; this allows .mc authors to bypass
  2709.         things like the "short circuit" code for local addresses.
  2710.         Prompted by a comment by Bill Wisner of The Well.
  2711.     CONFIG: add confSMTP_MAILER to define the mailer used (smtp or
  2712.         esmtp) to send SMTP mail.  This allows you to default
  2713.         to esmtp but use a mailertable or other override to
  2714.         deal with broken servers.  This logic was pointed out
  2715.         to me by Bill Wisner.  Ditto for confLOCAL_MAILER.
  2716.     Changes to cf/sh/makeinfo.sh to make it portable to SVR4
  2717.         environments.  Ugly as sin.
  2718.  
  2719. 8.3/8.3        93/07/13
  2720.     Fix setuid problems introduced in 8.2 that caused messages
  2721.         like "Cannot create qfXXXXXX: Invalid argument"
  2722.         or "Cannot reopen dfXXXXXX: Permission denied".  This
  2723.         involved a new compile flag "HASSETEUID" that takes
  2724.         the place of the old _POSIX_SAVED_IDS -- it turns out
  2725.         that the POSIX interface is broken enough to break
  2726.         some systems badly.  This includes some fixes for
  2727.         HP-UX.  Also fixes problems where the real uid is
  2728.         not reset properly on startup (from Neil Rickert).
  2729.     Fix a problem that caused timed out messages to not report the
  2730.         addresses that timed out.  Error messages are also more
  2731.         "user friendly".
  2732.     Drop required bandwidth on connections from 64 bytes/sec to
  2733.         16 bytes/sec.
  2734.     Further Solaris portability changes -- doesn't require the BSD
  2735.         compatibility library.  This also adds a new
  2736.         "HASGETDTABLESIZE" compile flag which can be used if
  2737.         you want to use getdtablesize(2) instead of sysconf(2).
  2738.         These are loosely based on changes from David Meyer at
  2739.         University of Oregon.  This now seems to work, at least
  2740.         for quick test cases.
  2741.     Fix a problem that can cause duplicate error messages to be
  2742.         sent if you are in SMTP, you send to multiple addresses,
  2743.         and at least one of those addresses is good and points
  2744.         to an account that has a .forward file (whew!).
  2745.     Fix a problem causing messages to be discarded if checkcompat()
  2746.         returned EX_TEMPFAIL (because it didn't properly mark
  2747.         the "to" address).  Problem noted by John Myers.
  2748.     Fix dfopen to return NULL if the open failed; I was depending
  2749.         on fdopen(-1) returning NULL, which isn't the case.  This
  2750.         isn't serious, but does result in wierd error diagnoses.
  2751.         From Michael Corrigan.
  2752.     CONFIG: add UUCP_MAX_SIZE M4 macro to set the maximum size of
  2753.         messages sent through UUCP-family mailers.  Suggested
  2754.         by Bill Wisner of The Well.
  2755.     CONFIG: if both MAILER(uucp) and MAILER(smtp) are specified,
  2756.         include a "uucp-dom" mailer that uses domain-style
  2757.         addressing.  Suggested by Bill Wisner.
  2758.     CONFIG: Add LOCAL_SHELL_FLAGS and LOCAL_SHELL_ARGS to match
  2759.         LOCAL_MAILER_FLAGS and LOCAL_MAILER_ARGS.  Suggested by
  2760.         Christophe Wolfhugel.
  2761.     CONFIG: Add OSTYPE(aix3).  From Christophe Wolfhugel.
  2762.  
  2763. 8.2/8.2        93/07/11
  2764.     Don't drop out on config file parse errors in -bt mode.
  2765.     On older configuration files, assume option "l" (use Errors-To
  2766.         header) for back compatibility.  NOTE:  this DOES NOT
  2767.         imply an endorsement of the Errors-To: header in any way.
  2768.     Accept -x flag on AIX-3 as well as OSF/1.  Why, why, why???
  2769.     Don't log errors on EHLO -- it isn't a "real" error for an old
  2770.         SMTP server to give an error on this command, and
  2771.         logging it in the transcript can be confusing.  Fix
  2772.         from Bill Wisner.
  2773.     IRIX compatibility changes provided by Dan Rich
  2774.         <drich@sandman.lerc.nasa.gov>.
  2775.     Solaris 2 compatibility changes.  Provided by Bob Cunningham
  2776.         <bob@kahala.soest.hawaii.edu>, John Oleynick
  2777.         <juo@klinzhai.rutgers.edu>
  2778.     Debugging: -d17 was overloaded (hostsignature and usersmtp.c);
  2779.         move usersmtp (smtpinit and smtpmailfrom) to -d18 to
  2780.         match the other flags in that file.
  2781.     Flush transcript before fork in mailfile().  From Eric Wassenaar.
  2782.     Save h_errno in mci struct and improve error message display.
  2783.         Changes from Eric Wassenaar.
  2784.     Open /dev/null for the transcript if the create of the xf file
  2785.         failed; this avoids at least one possible null pointer
  2786.         reference in very wierd cases.  From Eric Wassenaar.
  2787.     Clean up statistics gathering; it was over-reporting because of
  2788.         forks.  From Eric Wassenaar.
  2789.     Fix problem that causes old Return-Path: line to override new
  2790.         Return-Path: line (conf.c needs H_FORCE to avoid
  2791.         re-using old value).  From Motonori Nakamura.
  2792.     Fix broken -m flag in K definition -- even if -m (match only)
  2793.         was specified, it would still replace the key with the
  2794.         value.  Noted by Rick McCarty of Texas Instruments.
  2795.     If the name server timed out over several days, no "timed out"
  2796.         message would ever be sent back.  The timeout code
  2797.         has been moved from markfailure() to dropenvelope()
  2798.         so that all such failures should be diagnosted.  Pointed
  2799.         out by Christophe Wolfhugel and others.
  2800.     Relax safefile() constraints: directories in an include or
  2801.         forward path must be readable by self if the controlling
  2802.         user owns the entry, readable by all otherwise (e.g.,
  2803.         when reading your .forward file, you have to own and
  2804.         have X permssion in it; everyone needs X permission in
  2805.         the root and directories leading up to your home);
  2806.         include files must be readable by anyone, but need not
  2807.         be owned by you.
  2808.     If _POSIX_SAVED_IDS is defined, setuid to the owner before
  2809.         reading a .forward file; this gets around some problems
  2810.         on NFS mounts if root permission is not exported and
  2811.         the user's home directory isn't x'able.
  2812.     Additional NeXT portability enhancements from Axel Zinser.
  2813.     Additional HP-UX portability enhancements from Brian Bullen.
  2814.     Add a timeout around SMTP message writes; this assumes you can
  2815.         get throughput of at least 64 bytes/second.  Note that
  2816.         this does not impact the "datafinal" default, which
  2817.         is separate; this is just intended to work around
  2818.         network clogs that will occur before the final dot
  2819.         is sent.  From Eric Wassenaar.
  2820.     Change map code to set the "include null" flag adaptively --
  2821.         it initially tries both, but if it finds anything
  2822.         matching without a null it never tries again with a
  2823.         null and vice versa.  If -N is specified, it never
  2824.         tries without the null and creates new maps with a
  2825.         null byte.  If -O is specified, it never tries with
  2826.         the null (for efficiency).  If -N and -O are specified,
  2827.         you get -NO (get it?) lookup at all, so this would
  2828.         be a bad idea.  If you don't specify either -N or -O,
  2829.         it adapts.
  2830.     Fix recognition of "same from address" so that MH submissions
  2831.         will insert the appropriate full name information;
  2832.         this used to work and got broken somewhere along the
  2833.         way.
  2834.     Some changes to eliminate some unnecessary SYSERRs in the
  2835.         log.  For example, if you lost a connection, don't
  2836.         bother reporting that fact on the connection you lost.
  2837.     Add some "extended debugging" flags to try to track down
  2838.         why we get occassional problems with file descriptor
  2839.         one being closed when execing a mailer; it seems to
  2840.         only happen when there has been another error in the
  2841.         same transaction.  This requires XDEBUG, defined
  2842.         by default in conf.h.
  2843.     Add "-X filename" command line flag, which logs both sides of
  2844.         all SMTP transactions.  This is intended ONLY for
  2845.         debugging bad implementations of other mailers; start
  2846.         it up, send a message from a mailer that is failing,
  2847.         and then kill it off and examine the indicated log.
  2848.         This output is not intended to be particularly human
  2849.         readable.  This also adds the HASSETVBUF compile
  2850.         flag, defaulted on if your compiler defines __STDC__.
  2851.     CONFIG: change SMART_HOST to override an SMTP mailer.  If you
  2852.         have a local net that should get direct connects, you
  2853.         will need to use LOCAL_NET_CONFIG to catch these hosts.
  2854.         See cf/README for an example.
  2855.     CONFIG: add LOCAL_MAILER_ARGS (default: `mail -d $u') to handle
  2856.         sites that don't use the -d flag.
  2857.     CONFIG: hide recipient addresses as well as sender addresses
  2858.         behind $M if FEATURE(allmasquerade) is specified; this
  2859.         has been requested by several people, but can break
  2860.         local aliases.  For example, if you mail to "localalias"
  2861.         this will be rewritten as "localalias@masqueradehost";
  2862.         although initial delivery will work, replies will be
  2863.         broken.  Use it sparingly.
  2864.     CONFIG: add FEATURE(domaintable).  This maps unqualified domains
  2865.         to qualified domains in headers.  I believe this is
  2866.         largely equivalent to the IDA feature of the same name.
  2867.     CONFIG: use $U as UUCP name instead of $k.  This permits you
  2868.         to override the "system name" as your UUCP name --
  2869.         in particular, to use domain-ized UUCP names.  From
  2870.         Bill Wisner of The Well.
  2871.     CONFIG: create new mailer "esmtp" that always tries EHLO
  2872.         first.  This is currently unused in the config files,
  2873.         but could be used in a mailertable entry.
  2874.  
  2875. 8.1C/8.1B    93/06/27
  2876.     Serious security bug fix: it was possible to read any file on
  2877.         the system, regardless of ownership and permissions.
  2878.     If a subroutine returns a fully qualified address, return it
  2879.         immediately instead of feeding it back into rewriting.
  2880.         This fixes a problem with mailertable lookups.
  2881.     CONFIG: fix some M4 frotz (concat => CONCAT)
  2882.  
  2883. 8.1B/8.1A    93/06/12
  2884.     Serious bug fix: pattern matching backup algorithm stepped by
  2885.         two tokens in classes instead of one.  Found by Claus
  2886.         Assmann at University of Kiel, Germany.
  2887.  
  2888. 8.1A/8.1A    93/06/08
  2889.     Another mailertable fix....
  2890.  
  2891. 8.1/8.1        93/06/07
  2892.     4.4BSD freeze.  No semantic changes.
  2893.  
  2894. 6.65/6.34    93/06/06
  2895.     Fix some lintish problems.
  2896.     Fix some cases where server SMTP behaved poorly when handed bogus
  2897.         input, pointed out by Eric Wassenaar.
  2898.     CONFIG: fix some more (sigh) mailertable bugs -- thanks to
  2899.         Motonori Nakamura of Kyoto University (again).
  2900.  
  2901. 6.64/6.33    93/06/05
  2902.     Don't send 050 (-v) information after the 250 response to a QUIT
  2903.         command in srvrsmtp -- clients usually close the connection
  2904.         at this point, and it causes bogus error messages.
  2905.     Don't send messages that have errors on input (such as unbalanced
  2906.         parentheses) during SMTP transactions, since a return
  2907.         message has (probably) already been sent.
  2908.     Give better diagnostics on timeouts during network reads, including
  2909.         information similar to the SMTP phase.
  2910.     Fix bug that caused SMTP messages to deliver synchronously; this
  2911.         happened after the DATA 250, and hence caused reading the
  2912.         next command to be delayed.
  2913.     Ignore Errors-To: header unless 'l' (lower case el) header is
  2914.         specified.  The Errors-To: header violates RFC 1123.
  2915.         Errors-To: was only needed to take the place of the
  2916.         envelope sender in the days when most Unix mailers
  2917.         didn't understand about the two kinds of senders.
  2918.     Don't send warning messages in response to automatically generated
  2919.         messages (that is, those From:<>).
  2920.     CONFIG: fix some rather stupid typos in the mailertable code
  2921.         pointed out by Motonori Nakamura of Kyoto University.
  2922.     CONFIG: add confUSE_ERRORS_TO configuration option.
  2923.     CONFIG: if ALWAYS_ADD_DOMAIN is selected, try to use $M
  2924.         (masquerade name) instead of $j.
  2925.     CONFIG: don't add dots to relay names (added in 6.29); it breaks
  2926.         several things, and can be simulated by dot terminating
  2927.         the names of relays.  For example, use:
  2928.             DBbit.net.relay.
  2929.         (note the trailing dot).
  2930.  
  2931. 6.63/6.32    93/06/01
  2932.     Fix prototypes to eliminate chars in argument lists -- some
  2933.         compilers are pissy about this.
  2934.     Log protocol ($r) and body type if set so we can determine if
  2935.         the adaptive algorithms are working.
  2936.     Pessimize on locking of database files (particularly for NEWDB
  2937.         databases) during opens.  There were problems with
  2938.         processes opening the file while it was rebuilt; since
  2939.         NEWDB caches heavily, the reader opened an empty file,
  2940.         which is an error.  If your system has the ability to
  2941.         lock atomically on open, this works properly; otherwise,
  2942.         there are race conditions.
  2943.     Check mod time on .pag file instead of .dir in NDBM aliases
  2944.         because the .dir file doesn't get updated for small
  2945.         alias files.  From John Gardiner Myers of CMU.
  2946.     More Solaris portability -- it now compiles on Solaris, but
  2947.         hangs up in gethostbyname().
  2948.     Move setting of RES_DEBUG flag before first myhostname() call
  2949.         so we can see name server traffic on that call.
  2950.     Fsync() queue files.
  2951.     Fix a problem that causes -bi to try to rebuild maps other than
  2952.         the alias file(s).
  2953.     Fix a problem that caused udb to reject entries from any but
  2954.         the first database listed.
  2955.     Rearrange doc subdirectory for 4.4BSD release tape.
  2956.     CONFIG: put $r into the Received line.  This was an oversight.
  2957.     CONFIG: fix typo (call to ruleset 99 should have been rulset 90).
  2958.     CONFIG: move "auxiliary" subroutines to be in ruleset 90-99
  2959.         range -- in the long run, single digit rulesets may
  2960.         become reserved for builtin use by sendmail.
  2961.     CONFIG: fix major problem that causes host aliases (that is,
  2962.         anything in $=w != $j) to not be recognized.  This has
  2963.         been around since 6.30.
  2964.  
  2965. 6.62/6.31    93/05/28
  2966.     BETA RELEASE
  2967.     Fix recursive syserr (if there is an error printing a syserr
  2968.         message).  This makes the code much less eager to consider
  2969.         a write error as serious.  This also includes some
  2970.         heuristics to be clever about closed connections.
  2971.     Lock NEWDB files during gets.  This requires version 1.5 or later
  2972.         of the db library.  If you have an older version, you
  2973.         can use -DOLD_NEWDB.  This will go away in a few weeks.
  2974.     Fix problem causing aliases that use host maps to get overwritten.
  2975.     Do appropriate byte swapping on port numbers in ident protocol
  2976.         code.  Fix from Allan Johannesen of WPI.
  2977.     Defer opening of map files to the same time as alias files so that
  2978.         the daemon will tend to pick up new versions more promptly.
  2979.     Prototype a bunch more functions.
  2980.     Some Solaris 2.1 changes (still doesn't link though).
  2981.     Try to simplify Makefiles by including more subordinate #defines
  2982.         in conf.h (based on OS type).
  2983.     CONFIG: check for domains if FEATURE(mailertable) is defined.
  2984.         For example, if the host name is "knecht.cs.berkeley.edu"
  2985.         it will search the following mailertable keys:
  2986.             knecht.cs.berkeley.edu
  2987.             .cs.berkeley.edu
  2988.             .berkeley.edu
  2989.             .edu
  2990.         This could be used to replace the special relays for bitnet
  2991.         and similar nets.
  2992.  
  2993. 6.61/6.30    93/05/24
  2994.     Fix problem that prevented appending dots on canonified host
  2995.         names.  This breaks tons of config files -- very
  2996.         important fix.
  2997.     Fix improper pointer dereference in response to HELO command.
  2998.     Fix core dump if debugging set in map_rewrite.
  2999.     CONFIG: add FEATURE(always_add_domain) to always attach the
  3000.         local domain (only impacts local mail).
  3001.     CONFIG: try to avoid turning names into $j -- although
  3002.         technically a host can only have one "canonical name",
  3003.         it seems to be common practice to have several.
  3004.  
  3005. 6.60/6.29    93/05/22
  3006.     Major change: merge alias databases with maps.  This expands and
  3007.         changes the map class interface but fixes a bunch of bugs.
  3008.         The important user-visible change is that the file name
  3009.         in a K line now does not include the ".db" extension; this
  3010.         is added automatically.  Also, the -d (NIS domain) flag is
  3011.         missing from the K config line; use @domain instead.
  3012.         When compiling, the *_MAP names are gone -- just compile
  3013.         in NDBM, NEWDB, and/or NIS support.
  3014.     Announce mailer/host/user triple on -bv flag -- from Brian
  3015.         Bullen of Stirling University.
  3016.     Don't send more than one line in response to HELO -- it confuses
  3017.         Pony Express, which then behaves very badly.  However,
  3018.         this change does send two line 220 greetings, with the
  3019.         second line reading "ESMTP spoken here".  The usersmtp
  3020.         module recognizes this and goes into ESMTP mode regardless
  3021.         of the setting of the "a" mailer flag.  Thus, "a" means
  3022.         "always try EHLO".
  3023.     AIX portability changes (thanks to Christophe Wolfhugel of
  3024.         Herve Schauer Consultants (Paris) for providing me with
  3025.         an INSA account for this purpose).  Lightly tested.  Use
  3026.         -D_AIX3.  This probably breaks compatibility with some
  3027.         older systems (e.g., 4.2bsd) but still works on SunOS
  3028.         4.1.2, Ultrix 4.2A, HP-UX 8.07, OSF/1 T1.3, and AIX 3.2.3.
  3029.     Fix a problem causing an error message loop if the output channel
  3030.         is hosed.
  3031.     Add the Makefiles that I use for various environments -- some are
  3032.         Berkeley make versions and some are old make versions.
  3033.         My makefile for the NeXT box has gotten lost, alas!
  3034.     PRALIASES: support for printing NEWDB databases.  From
  3035.         Michael J. Corrigan of U.C. San Diego.
  3036.     CONFIG: don't pass pseudo-domains to $[ ... $] (if you have
  3037.         a wildcard MX it can have wierd results).  From
  3038.         Christophe Wolfhugel.
  3039.     CONFIG: dot terminate relay hostnames in S0.  From Christophe
  3040.         Wolfhugel.
  3041.  
  3042. 6.59/6.28    93/05/13
  3043.     Log version with SMTP daemon startup message.
  3044.     Adjust setproctitle to work on NetBSD and BSD/386.
  3045.     Fix null pointer reference in MX fallback code.
  3046.     A bunch of minor fixes from Eric Wassenaar:
  3047.         If deliver cannot execv the mailer, return EX_OSERR
  3048.             instead of EX_TEMPFAIL (to give better
  3049.             error messages).
  3050.         Consistently malloc e_message.
  3051.         Catch degenerate case of calling returntosender()
  3052.             with an empty returnq.
  3053.         MIME reformatting.
  3054.  
  3055. 6.58/6.28    93/05/13
  3056.     Fix bug that can cause incorrect verbose display of user smtp
  3057.         messages.
  3058.     Disable SMTP VERB command if PRIV_NOEXPN is set (since this
  3059.         could reveal the same information.
  3060.     Allow failure when reading SMTP greeting message to go on to
  3061.         next MX host.
  3062.     Add "MIME-Version: 1.0" header if using MIME (this was NOT
  3063.         included in RFC 1344, but Bill King of Allan-Bradley
  3064.         Company forwarded me email from Nathaniel Borenstein
  3065.         claiming that it was an inadvertent omission).
  3066.     Don't use Content-Type: X-message-header.  According to John
  3067.         Myers of CMU, many MIME readers will completely ignore
  3068.         the data if they don't recognize it.  Instead, just
  3069.         add a blank line to make it a legal (empty) message.
  3070.     Fix problem causing dots to keep getting appended to cached
  3071.         hostnames.  This can cause buffer overrun conditions.
  3072.         The problem was found by Erik Forsberg of Retix,
  3073.         although I used a different bug fix than he provided.
  3074.     Fix parsing of split header/envelope rewriting specs -- from
  3075.         Eric Forsberg.
  3076.     Fix from Eric Wassenaar to correct To: lists in error messages.
  3077.  
  3078. 6.57/6.28    93/05/11
  3079.     Fix minor glitch causing extra ctladdrs to be output to queue
  3080.         file.  Just an annoyance.
  3081.     Cache results of name server canonification lookups to avoid
  3082.         backed up queue runs.
  3083.     Major rewrite of alias.c: considerable cleanup, plus sample
  3084.         (untested) support for NIS aliases.  The "A" option
  3085.         can now be a comma separated list (or be repeated) --
  3086.         that is, you can have multiple alias databases.  Each
  3087.         database can have the syntax ``class:file''; if no class
  3088.         is specified, the "implicit" class is assumed.  Implicit
  3089.         searches through a list of compiled in types -- hash,
  3090.         dbm, nis, and stab.  Alias files are searched in the
  3091.         order they are listed.  For example:
  3092.             OAhash:/etc/aliases.local,/etc/aliases
  3093.             OAnis:mail.aliases@my.nis.domain
  3094.         first searches the hash database /etc/aliases.local,
  3095.         then the regular /etc/aliases database, then the NIS
  3096.         map "mail.aliases" in the NIS domain "my.nis.domain".
  3097.     If in Verbose mode (probably from VERB command) run SMTP job
  3098.         in foreground and don't do RCPT optimizations.
  3099.     Add udb :mailsender as equivalent to owner- for regular aliases.
  3100.     Delete option 8; add option 7 that means the opposite.  That is,
  3101.         default to 8-bit mode; a special option is needed to
  3102.         force sendmail into 7 bit mode.
  3103.     Send error messages in encapsulated MIME format.
  3104.     New compile flag "NIS" that turns on NIS alias and NIS map
  3105.         support.
  3106.     Add "j" option to send error messages in MIME (RFC 1341)
  3107.         encapsulated message format per RFC 1344.  The
  3108.         syntax is pretty ugly if you don't have MIME-aware
  3109.         user agents.
  3110.     Clean up message handling (for display in mailq output).
  3111.     New setproctitle implementation for 4.4bsd.
  3112.     Create files (such as ~/dead.letter) using mode FileMode (the
  3113.         F option value) instead of 0666.
  3114.     Fix bug causing output of EXPN command to not be fully qualified.
  3115.         This may cause some problems with UUCP addresses that
  3116.         will require some config file assistance -- specifically,
  3117.         the $: part has to include the host name for this output
  3118.         to make sense.
  3119.     Fix a problem that sometimes diagnosed errors and still sent the
  3120.         message if the header syntax was bad.
  3121.     Fix a bug that caused an error message to be emailed when sendmail
  3122.         was operating in -bv mode.
  3123.     Add "ListenQueueSize" keyword to daemon options option (OO) to
  3124.         set the queue size parameter passed to listen().  You
  3125.         will normally have to tweak your kernel to up this.
  3126.     Strip spaces off of beginning of message-id before logging (in
  3127.         case it was folded across lines).
  3128.     Tweak compile flags in daemon.c -- there were some cases where
  3129.         it wouldn't work without NETINET.
  3130.     Change *file* mailer to output all the usual default headers
  3131.         (From, Date, Message-Id).  It gets used when sending
  3132.         back error messages.
  3133.     CONFIG: explicitly catch and diagnose list:; syntax in ruleset
  3134.         zero -- this is not a valid recipient syntax according
  3135.         to RFC 821.
  3136.     CONFIG: add confMIME_FORMAT_ERRORS to send error messages in
  3137.         MIME format.  Defaults to on.
  3138.     CONFIG: add SMTP_MAILER_FLAGS and UUCP_MAILER_FLAGS to augment
  3139.         the flags for those mailers.
  3140.  
  3141. 6.56/6.27    93/05/01
  3142.     Fix problem that causes the fallback mail to postmaster
  3143.         (case ESM_POSTMASTER in savemail()) to not look at
  3144.         aliases (ugh).
  3145.     Some more HPUX tweaking (compile flag hpux => __hpux so it
  3146.         still works in ANSI mode).
  3147.     Don't try to flock non-regular files when mailing to a file.
  3148.         In particular, this was a problem if you tried to
  3149.         send to /dev/null.
  3150.     Fix a wierd bug that can cause senders to be queued as
  3151.         recipients if the name server is down when the mail
  3152.         is initially sent.  This hack just ignores sender
  3153.         deletion (essentially, it sets the MeToo flag) if there
  3154.         is a TEMPFAIL during processing of the sender address.
  3155.         Obscure.
  3156.     Fix a dangling else problem -- from Brian Bullen from University
  3157.         of Stirling, UK.
  3158.     Add the "b" mailer flag to force a blank line on the end of
  3159.         messages.  Some brilliant versions of /bin/mail insist
  3160.         on this but do not add it themselves.
  3161.     Add the "g" mailer flag to prevent user SMTP from sending
  3162.         "MAIL From:<>".  This is only intended to be a
  3163.         transitional gesture, and should not be used if at
  3164.         all possible.  It appears that Berkeley and IDA
  3165.         config files have always handled this properly; the
  3166.         UK config kit apparently does not.
  3167.     Don't lowercase and then capitalize header field names -- leave
  3168.         them with original capitalization.  Fixes from Bill
  3169.         King of Allen-Bradley Company.
  3170.     Further cleanup and improved reporting of error messages,
  3171.         particularly conditions that cause messages to be
  3172.         requeued for future delivery.
  3173.     Tweak syslog priorities in some cases.
  3174.     CONFIG: clean up route-addr on UUCP addresses.
  3175.  
  3176. 6.55/6.25    93/04/27
  3177.     HPUX 8.07 compatibility changes in getla() -- I had to make
  3178.         these changes to get it to work at Berkeley, although
  3179.         others seem to have been working before (???).
  3180.     Various patches to XLA code.
  3181.     Fix problem that causes setuid bit on files to be ignored from
  3182.         SMTP or in queue runs.  Problem noted by Jason Ornstein
  3183.         of Under The Wire, Inc.
  3184.     Fix problem that can cause CNAMEs to be ignored.
  3185.     Generalize getmxrr to match local host in $=w instead of a
  3186.         single name passed in.
  3187.     Some cleanup from Eric Wassenaar:
  3188.         Use FileMailer instead of ProgMailer in two places.
  3189.         Eliminate duplicate 8th-bit stripping in commaize.
  3190.         Fix a problem with mis-parsing of backslash escapes
  3191.             under some circumstances.
  3192.     NIS map fix (was always including trailing null character)
  3193.         from Mike Glendinning of Ingres UK.
  3194.     Add "a" mailer flag to try using ESMTP.  It tries the EHLO
  3195.         command and if that fails falls back to regular SMTP.
  3196.         Also parses EHLO option keywords.  If host supports
  3197.         SIZE extension, this is added to the MAIL FROM:
  3198.         command.
  3199.     Extend "b" option to include a second value which is the
  3200.         maximum message size this server is willing to accept.
  3201.         For example, a value of "10/1000000" says that there
  3202.         must be ten blocks free, and sendmail will reject
  3203.         any message larger than one megabyte.
  3204.     Some portability hooks for NeXT (this could be applicable
  3205.         to Mach in general).  You have to create an empty
  3206.         file called "unistd.h" to get it to compile.
  3207.     Adjust config values (MAXLINE, MAXATOM, and PSBUFSIZE) to
  3208.         be more generous.
  3209.     Add X400-Received: to the list of headers tagged with H_TRACE
  3210.         in conf.c.  From Bill King, Allen-Bradley Co.
  3211.  
  3212. 6.54/6.25    93/04/19
  3213.     Fix problem that caused redefinition of SMTP and QUEUE compile
  3214.         flags.  Pointed out by Jon Forrest of the Sequoia 2000
  3215.         project at Berkeley.
  3216.     Properly handle \! hack -- it was treating host\!user as one
  3217.         token (host!user) instead of three (host, !, user).
  3218.         Fix from Eric Wassenaar of NIKHEF-H.
  3219.     Fix compilation problem in getauthinfo() if IDENTPROTO is off.
  3220.     Turn off DEFNAMES and DNSRCH when getting the hostsignature
  3221.         (i.e., MX records) in level 1 configuration files; this
  3222.         matches the old behaviour.  From Motonori Nakamura of
  3223.         Kyoto University.
  3224.     Improve error message printing -- if sent through an alias,
  3225.         error messages include the name of the alias in the
  3226.         message.  Unfortunately, in order to make this work
  3227.         properly in queue runs, this changes the format of the
  3228.         C line in the qf file.  The relatively uselessness of
  3229.         the previous information was pointed out to me by
  3230.         Allan E Johannesen of WPI.
  3231.     Add XLA compile flag to add hooks to Christophe Wolfhugel's
  3232.         extended load average code.  This is still in very early
  3233.         form.  For information regarding the guts of the xla
  3234.         code, contact Christophe.Wolfhugel@grasp.insa-lyon.fr.
  3235.     Additional hooks for detecting tempfails in rewriting rules
  3236.         (that is, in map lookups).
  3237.  
  3238. 6.53/6.25    93/04/15
  3239.     Properly diagnose ruleset zero returning null (instead of a mailer
  3240.         triple).  From Motonori Nakamura of Kyoto University.
  3241.     More generalization of socket code for other protocols.
  3242.     Shorten timeouts on reverse name lookups -- since they are done
  3243.         during connection establishment, long timeouts here can
  3244.         cause higher level timeouts.  This mainly serves to accept
  3245.         mail from hosts that do not have proper reverse (PTR) DNS
  3246.         records set up.
  3247.     Reset e_statmsg before each mailer invocation to avoid bogus
  3248.         messages in the log.
  3249.     Redefine $r, $s, and $_ in error envelopes so you don't get
  3250.         incorrect cruft in the error message.  Problem noted by
  3251.         Motonori Nakamura of Kyoto University.
  3252.     Fix a problem that can cause failure to return errors to Postmaster
  3253.         in certain cases.  From Motonori Nakamura.
  3254.     Fix a problem that can cause some systems to give duplicate error
  3255.         messages when a bad syntax address such as "<a" is presented
  3256.         to an SMTP server.   It doesn't seem to occur on all
  3257.         machines.  From Motonori Nakamura.
  3258.     Default IDENTPROTO off for Ultrix and HPUX, which apparently have
  3259.         the interesting "feature" that when they receive a "Host
  3260.         unreachable" message they closes all open connections to
  3261.         that host.  However, some firewall gateways send this message
  3262.         if you try to connect to an unauthorized port, such as the
  3263.         IDENT port (113).  Thus, no email can be received from such
  3264.         hosts.  There is some evidence that versions of Ultrix before
  3265.         4.3 do not have this problem.  Thanks to Tom Ivar Helbekkmo
  3266.         for pointing out this behaviour to me and to Michael Corrigan
  3267.         of U.C. San Diego for informing me about the HPUX problem.
  3268.     Allow IPC mailers to return a colon-separated list of hosts in the
  3269.         $@ clause; these are searched in order as though they were
  3270.         MX records.
  3271.     When sending an error report, print the list of addresses tagged
  3272.         as bad.  Requested by Allan E Johannesen of WPI.
  3273.     Change map function calls to return a status code.  This gets
  3274.         passed back as the result of rewrite.  Parseaddr marks
  3275.         the address as a QUEUEUP address if the return code is
  3276.         EX_TEMPFAIL.  All this to queue properly if the name
  3277.         server is down.  This code is not well tested.  This code
  3278.         changes the interface to map lookup functions (a fifth
  3279.         parameter, int *statp, is added).  Feature requested by
  3280.         Dan Oscarsson.
  3281.     Don't delete quotes (in the dequote map) if there are spaces in
  3282.         the string, since this would cause them to be replaced by
  3283.         the SpaceSub character.
  3284.     Accept BODY=8BITMIME on SMTP MAIL command.  This isn't advertised
  3285.         because the 8BIT to 7BIT translation doesn't exist yet.
  3286.         This does add a "bodytype" field to both envelope and
  3287.         queue file and a -B command line flag to pass the type in
  3288.         during direct invocations.
  3289.     Discard return error messages only on responses to responses to
  3290.         responses, not on responses to responses.  That is, the
  3291.         algorithm is to try return to sender, then return to
  3292.         postmaster, then discard.  Previously it discarded
  3293.         immediately if the return to sender pass failed.
  3294.     CONFIG: back out change to hide unqualified hostnames behind %-hack.
  3295.         This screws up local aliases and .forward files.
  3296.     CONFIG: add FEATURE(nocanonify) to turn off calls to $[ ... $];
  3297.         some sites only handle completely canonified names.
  3298.         Requested by John Gardiner Myers of CMU.
  3299.     CONFIG: some UUCP code was still included even if FEATURE(nouucp)
  3300.         was specified.
  3301.  
  3302. 6.52/6.24    93/04/10
  3303.     Clean up some minor glitches on error return messages pointed out
  3304.         by Motonori Nakamura of Kyoto University.
  3305.     Fix reply() to not reset SmtpReplyBuffer on fatal errors; this
  3306.         was supposed to reset SmtpMsg Buffer.  This makes the
  3307.         client side code virtually useless.  Reported by Allan
  3308.         E Johannesen of WPI and Phil Brandenberger of Swarthmore.
  3309.     Better debug messages if fuzzy is disabled, suggested by Allan
  3310.         E Johannesen of WPI.
  3311.     Offset SmtpReplyBuffer by four in usersmtp when checking for
  3312.         loopback.  From Eric Wassenaar.
  3313.     Don't set $s until after runinchild in srvrsmtp -- otherwise
  3314.         it gets cleared.  From Eric Wassenaar.
  3315.     Implement IDA-style $&x for deferred macro expansion.
  3316.     More POSIX compatibility.
  3317.     CONFIG: Hide unqualified hostnames behind %-hack using $s as the
  3318.         actual sender.  This is only done if $r is non-null, that
  3319.         is, if this is not locally submitted mail.
  3320.     CONFIG: Add FEATURE(bitdomain) allowing mapping of BITNET host
  3321.         names to internet domains.  A program contributed by
  3322.         John Gardiner Myers of CMU to create the maps is included
  3323.         in the contrib directory (in the "misc" tar file).
  3324.     CONFIG: Add FEATURE(uucpdomain) for a similar mapping for UUCP
  3325.         hosts.  There is currently no tool to create this map.
  3326.  
  3327. 6.51/6.23    93/04/04
  3328.     Add D= mailer flag to specify a path of possible working directories
  3329.         in which to execute the mailer.  This is intended for the
  3330.         prog mailer; some shells can get upset if they don't have
  3331.         access to the current directory.
  3332.     Add RFC 1413 (IDENT) protocol support.  This is only very loosely
  3333.         tested.  This adds a $_ macro to be the authenticated
  3334.         info (in ``user@domain [address]'' form) and debug flag
  3335.         9 to trace the protocol.
  3336.     Check for loopbacks in usersmtp instead of srvrsmtp -- there is no
  3337.         reason for a local agent to not be talking to the localhost
  3338.         (although the inverse is not true).
  3339.     Add a few hooks for automated map rebuilding.  This is certainly
  3340.         not done yet.
  3341.     CONFIG: Have prog mailer specify a path of ``D=$z:/'' -- that is,
  3342.         user's home directory then the root.
  3343.     CONFIG: Log RFC 1413 identification in Received: line.
  3344.  
  3345. 6.50/6.22    93/04/01
  3346.     Fixes to requeueing code to make it compute priority, nrcpts,
  3347.         and the like properly.
  3348.  
  3349. 6.49/6.22    93/04/01
  3350.     Diagnose incorrect privacy flags.  Suggested by Bryan Costales
  3351.         of ICSI.
  3352.     Some ANSI C fixes.
  3353.     Arrange to quote backslashes as well as other special characters
  3354.         in the phrase part of a route-addr.
  3355.     Some fixes to FallBackMX code suggested by Motonori Nakamura of
  3356.         Kyoto University.
  3357.     More vigorous zeroing of CurHostAddr to avoid logging of bogus
  3358.         host addresses when you are actually just printing
  3359.         information from the MCI structure; problem noted by
  3360.         Michael Corrigan of U.C. San Diego.
  3361.     Don't ignore rest of queue if any job is not runnable.  This can
  3362.         also cause an incorrect job to be lost.  Fix from
  3363.         Eric Wassenaar.
  3364.     Always respond "quickly" to RCPT command; do alias expansion and
  3365.         the like later.  This also means that mail for lists that
  3366.         have errors will be acccepted, and an error sent back
  3367.         later.  This is done by instantiating the queue file
  3368.         and then immediately running and requeueing it.
  3369.  
  3370. 6.48/6.22    93/03/30
  3371.     Fix incorrect diagnosis of infinite loop in ruleset.  Problem noted
  3372.         by several people.
  3373.     Improve information printed when infinite loops are discovered.
  3374.     Zero CurHostAddr to fix erroneous internet addresses in log when no
  3375.         addresses can be bound.  Pointed out by Motonori Nakamura
  3376.         of Kyoto University.
  3377.     "Probe" SMTP connections using RSET instead of NOOP "just in case".
  3378.         Suggested by John Gardiner Myers of CMU.
  3379.     Don't warn about -f if you are setting sender to yourself.
  3380.  
  3381. 6.47/6.22    93/03/29
  3382.     Fix incompatible call to endmailer in smtpquit which causes core
  3383.         dumps.  Noted by Allan E Johannesen of WPI.
  3384.     HPUX portability changes from Michael J. Corrigan of UC San Diego.
  3385.     Require MAIL before RCPT command in srvrsmtp.c.  This had been
  3386.         intentional from the 821 draft days when the order wasn't
  3387.         clear, but is silly now.
  3388.     Fix bug in nis_magic routine that was initializing parameters
  3389.         incorrectly.  Fix from Takahiro Kanbe of Fuji Xerox
  3390.         Information Systems Co., Ltd.
  3391.     Change default for PrivacyFlags in conf.c to 0 -- since it always
  3392.         "or"s in new values, there was no way to turn off the
  3393.         AuthWarning stuff.
  3394.     Add O option to set SMTP daemon options.
  3395.     Add V option to set fallback MX host.  This always sorts at lower
  3396.         priority than anything it gets from the name server.  It
  3397.         should only be used for environments with very bad network
  3398.         connectivity.  Requested by several people.
  3399.     Log sending info.  It's not clear this is a good idea.
  3400.     CONFIG: fix typo in mailertable code.  Noted by Phil Brandenberger
  3401.         of Swarthmore.
  3402.     CONFIG: add confDAEMON_OPTIONS and confFALLBACK_MX to set options
  3403.         O and V, respectively.
  3404.  
  3405. 6.46/6.21    93/03/26
  3406.     Fix botch in server SMTP that broke transactions that did not
  3407.         use HELO first (like MH).  Fix from Michael Corrigan
  3408.         of U.C. San Diego.
  3409.     Fall back to other MX records if there is an error anywhere
  3410.         in delivery (actually on MAIL or DATA -- RCPT is harder).
  3411.         Suggested by John Gardiner Myers and Motonori Nakamura.
  3412.     Revert to non-prototypes -- it turns out that our ANSI C
  3413.         compiler is more forgiving than most others about
  3414.         mixing prototyped extern declarations with non-prototyped
  3415.         function definitions.
  3416.     Fix a problem with multi-word class matching pointed out by
  3417.         Neil Rickert.  Given:
  3418.             CX b a.b.c
  3419.             R$+ $=X $+    $: $1 < $2 > $3
  3420.         the input "user@a.b.c" failed instead of being properly
  3421.         rewritten as "user@a.<b>.c".
  3422.     Neil also convinced me that it was correct that $~ should match
  3423.         only one token -- the problem is that it's always possible
  3424.         to add another token, so $~ matches far too eagerly.
  3425.  
  3426. 6.45/6.21    93/03/25
  3427.     Implement multi-word classes (properly!).
  3428.  
  3429. 6.44/6.21    93/03/25
  3430.     Add X-Authentication-Warning: headers to clue users into possible
  3431.         attempts to forge mail.  This is on the authwarnings
  3432.         privacy flag, but is the default.  Suggested by Bryan
  3433.         Costales of ICSI.
  3434.     Pass default units for convtime in so they can be more reasonable.
  3435.     Allow config files to always add a new Comments: header (i.e.,
  3436.         they will be added even if an old one already exists).
  3437.         Suggested by Bryan Costales of ICSI.
  3438.     Allow config files to delete an existing Return-Path: header.
  3439.         These should only be added at final delivery.  Suggested
  3440.         by Bryan Costales of ICSI.
  3441.     Some debugging additions.  Suggested by Bryan Costales of ICSI.
  3442.     Clean up logging of Family 0 addresses.  Noted by David Muir
  3443.         Sharnoff and others.
  3444.     Add a "dequote" map class.  This allows config files to strip
  3445.         quotes off of addresses.  Note that this is not a builtin
  3446.         map, just a class -- so you have to define the map
  3447.         using the K line.
  3448.     Fix a bug in the queueup() loop getting a locked tf where in
  3449.         very odd cases it can fall off the bottom and core dump.
  3450.         Of course, it was P{r Emanuelsson who found it....
  3451.     Open a new transcript when splitting an envelope.  Problem found
  3452.         by Allan E Johannesen of WPI.
  3453.     Improved error output in endmailer if the mailer core dumps.
  3454.     CONFIG: Fix typo in UUCP mailer definition.
  3455.     CONFIG: Default several of the new options on: eight bit input,
  3456.         privacy flags set to "authwarnings", and message warning
  3457.         set to 4h.
  3458.     CONFIG: Use dequote map.
  3459.  
  3460. 6.43/6.20    93/03/23
  3461.     Fix problem with assumption of an sa_len field in a generic
  3462.         sockaddr -- it turns out that most vendors haven't
  3463.         picked up this (very important) fix.
  3464.     Change compilation flags for daemon code -- select one or both
  3465.         of NETINET or NETISO, but don't ever set DAEMON manually.
  3466.     CONFIG: add FEATURE(mailertable) to do IDA-style mailertables.
  3467.  
  3468. 6.42/6.19    93/03/19
  3469.     Use Postmaster as default fallback return address, not root.
  3470.     POSIX changes for file descriptor handling.
  3471.     Diagnose errors writing new queue file.
  3472.     If you change the owner using an owner- alias, also change the
  3473.         error mode to EM_MAIL so that errors don't get dropped
  3474.         into an inappropriate directory.  Problem noted by
  3475.         Allan E Johannesen of WPI.
  3476.     If you are su'ed to root, send email as who you really are, not
  3477.         as root.  From Brian Kantor of U.C. San Diego.
  3478.     Allow warning messages to be sent after a configurable interval
  3479.         has passed without delivery.  The message is sent only
  3480.         once per envelope.  This changes the format of the qf
  3481.         file to have an F line, and the format of the T option
  3482.         to accept take the format "return/warn" (both intervals).
  3483.     Don't force all local names to lower case -- this was left over
  3484.         from the wierd handling of case mapping on aliases.  It
  3485.         is now driven (as expected) by the "u" mailer flag.
  3486.         Problem noted by P{r Emanuelsson.
  3487.     Fix problem that caused headers on returned email to be trashed;
  3488.         they were getting freed, but are still accessible via
  3489.         BlankEnvelope.
  3490.     Fix problem that caused bogus ids to be created on returned
  3491.         mail.
  3492.     Add support for ISO and other non-INET networking.  This is by
  3493.         no means finished yet.  This does assume a lot of other
  3494.         system support, like a version of gethostbyname that
  3495.         returns non-AF_INET addresses.
  3496.     CONFIG: change default on prog mailer to keep upper case in
  3497.         user names (i.e., in the program command line).
  3498.     CONFIG: strip trailing dots off of hosts in uucp mailer before
  3499.         convert to bang format.
  3500.     CONFIG: create new "relay" mailer for $R (LOCAL_RELAY) and $H
  3501.         (MAIL_HUB) delivery that doesn't add local domain.  Note
  3502.         that this violates 821, but is probably "more correct"
  3503.         for what we are trying to do.  Problem pointed out by
  3504.         Michael Graff of Iowa State.
  3505.  
  3506. 6.41/6.18    93/03/18
  3507.     Clean up unnecessary creates of queue ids (i.e., empty qf files)
  3508.         when not needed, such as when starting up an SMTP
  3509.         connection.
  3510.     Fix problem where split envelopes aren't instantiated in the queue.
  3511.         This is quite a serious bug.
  3512.     Owner- aliases had problems with leading spaces causing a
  3513.         premature delimitation.
  3514.  
  3515. 6.40/6.18    93/03/18
  3516.     Have ending 250 (after DATA) include the id; suggested by
  3517.         Brian Kantor of UC San Diego.
  3518.     Add logging on envelope splitting.
  3519.     Change queue ids to have one more letter encoding the hour of
  3520.         the day so that during a single day there is a greater
  3521.         likelihood of uniqueness; requested by Brian Kantor.
  3522.  
  3523. 6.39/6.18    93/03/18
  3524.     Fix minor compile problem if LOCKF is defined.
  3525.     Define size of tobuf in conf.h.  Observed by Toshinari Takahashi
  3526.         of Toshiba.
  3527.     Restore e_sender -- this is equivalent to e_from.q_paddr without
  3528.         decorations such as angle brackets and comments.
  3529.     OSF/1 on Alpha changes from Allan E Johannesen of WPI.
  3530.     CONFIG: fix typo in S3 for list syntax (;: => :;).  Thanks to
  3531.         Christopher Hoover for noting the problem.
  3532.  
  3533. 6.38/6.17    93/03/17
  3534.     Pass envelope to disconnect to avoid another use of CurEnv, which
  3535.         can apparently end up being null at inopportune times.
  3536.     Log "received from" as "relay=" for consistency (suggested by
  3537.         John Gardiner Myers).
  3538.     Fix major bug in header handling:  if no From: line existed in
  3539.         the header (so sendmail inserts one), and the sender is
  3540.         an alias that has an owner, the From: line shows the
  3541.         owner (as well as the envelope).  Fixed by early binding
  3542.         the headers (which will change debugging output).
  3543.     HPUX portability patches from Michael J. Corrigan of UC San Diego.
  3544.     Some attempts to adapt better to out of open file conditions.
  3545.     Some changes to ctladdr handling in queue files.
  3546.  
  3547. 6.37/6.17    93/03/16
  3548.     MAJOR CHANGE:  delete e_sender and e_returnpath (why are these
  3549.         different from e_from?) and $< macro.
  3550.     Log correct IP address in relay= field even if the connection
  3551.         times out.
  3552.     Log "received from [RESPONSE]" on EF_RESPONSE messages (from
  3553.         John Gardiner Myers).
  3554.     Fixes to SysExMsg logging (sometimes just got "message: %s"
  3555.         instead of "message: error message"), noted by Eric
  3556.         Wassenaar.  Also reported by Motonori Nakamura.
  3557.     Improvements to MX piggybacking code, from Motonori Nakamura.
  3558.     Fix case where CurHostName points to an auto variable that has
  3559.         been deallocated (from Motonori Nakamura).
  3560.     Fix bug causing newlines to be included in aliases if option
  3561.         "n" (check alias RHS) is set; bug noted by David Muir
  3562.         Sharnoff.
  3563.     Fix problem causing user names that should be mapped to lower
  3564.         case to not be mapped if they are sent during a queue
  3565.         run.  This greatly simplifies the case mapping code.
  3566.         Problem noted by Allan E Johannesen of WPI.
  3567.     Don't do recipient address rewriting in buildaddr.  This
  3568.         improperly did recipient rewriting on sender addresses,
  3569.         and just seems bogus in general -- but the change could
  3570.         break some .cf files.
  3571.     Pass TZ envariable to child processes for System V.
  3572.     CONFIG: allow LOCAL_RULE_1 and LOCAL_RULE_2 if you want to
  3573.         define those rulesets.
  3574.     KNOWN PROBLEM:  I have seen some problems on SunOS that causes
  3575.         the User Data Base to give errors on some addresses.  I
  3576.         have tracked the problem back at least as far as 93.02.15
  3577.         (version 6.22).  Running with debugging on makes it
  3578.         go away, so I conclude that it is referencing uninitialized
  3579.         stack data.  I haven't been able to track this down yet.
  3580.  
  3581. 6.36/6.16    93/03/08
  3582.     Allow local mailer to specify $@host -- this lets you assign the
  3583.         "foo" part of jgm+foo to $h for passing in to the local
  3584.         mailer.
  3585.     Additional debug printing in getcanonname (show query type).
  3586.     Don't add the e_fromdomain on sender addresses -- this interacts
  3587.         wierdly with the owner- code.
  3588.     Improve delivery logging to not log obvious or meaningless stuff.
  3589.     Include numeric IP address in Received: lines per RFC 1123 section
  3590.         5.2.8.
  3591.     Fixed a bug in checking stat() return value if restrictmailq is
  3592.         set.  Also, check the entire group set instead of just the
  3593.         primary group.  Both from John Gardiner Myers.
  3594.     Don't have usrerr automatically print errno, since this is often
  3595.         misleading.
  3596.     Use transienterror() in makeconnection after connect() fails and
  3597.         in openmailer after execve() fails (from Eric Wassenaar).
  3598.         Also moved transienterror() from util.c to conf.c.
  3599.     Clean up from= logging on response messages.
  3600.     Undo patch allowing prescan to return a null vector -- it breaks
  3601.         too many things.
  3602.     Config: FEATURE(notsticky) lets you use UDB for everything coming
  3603.         in to the machine, even if it is specifically targetted
  3604.         to this machine.  Without it, UDB is bypassed if the user
  3605.         name is fully qualified.
  3606.     Config: fix another minor botch with <> (local mailer wasn't
  3607.         mapping them properly).
  3608.  
  3609. 6.35/6.15    93/03/05
  3610.     Fix getrealhostname to return null if sinlen <= 0 -- this can
  3611.         occur if stdin is a pipe.
  3612.     Avoid infinite loop in getcanonname if name server return
  3613.         NO_DATA (for example).
  3614.     Config: avoid having C flag qualify list syntax and error syntax.
  3615.  
  3616. 6.34/6.14    93/03/05
  3617.     Fix logging in deliver to not pass too many parameters to Ultrix
  3618.         versions of syslog.
  3619.     Don't write the pid file until after the daemon has actually
  3620.         opened and conditioned the connection.
  3621.     Consider addresses "different" if their q_uids differ (so that
  3622.         two users forwarding to the same program will be seen
  3623.         as different, rather than the same).
  3624.     Fix problem with bad parameters in main() -- they set ExitStat
  3625.         but don't exit.
  3626.     Fix null pointer references through RealHostName -- painfully
  3627.         discovered by Allan E Johannesen of WPI.
  3628.     Fix bug causing user@@localhost to core dump (yuch).
  3629.     Config: don't put two @host.dom.ain on users in $=E in SMTP
  3630.         mailer.  Also, catch user@ (no host) in ruleset 0.
  3631.  
  3632. 6.33/6.13    93/03/03
  3633.     Config: add confCW_FILE as the name of the cw configuration file
  3634.         (defaults to /etc/sendmail.cw).  From P{r Emanuelsson.
  3635.     Allow prescan to return a pointer to an empty list -- this is
  3636.         not an error.  Also, clean up error reporting to avoid
  3637.         double errors (prescan reports once, then the caller
  3638.         reports again).
  3639.     Changes to avoid trusting T_ANY queries -- run them, but if you
  3640.         don't get the info you expected, do T_A and T_MX queries
  3641.         anyhow.  This also fixes an oversight where _res.options
  3642.         bits were being ignored.
  3643.     If PRIV_NOVRFY is set, use 252 response code instead of 502 per
  3644.         RFC 1123 section 5.2.3.  It's not 100% clear that this
  3645.         is correct, but it probably works better with stupid
  3646.         mailers that do a VRFY and only check the first digit.
  3647.  
  3648. 6.32/6.12    93/03/02
  3649.     Fix uninitialized variable "protocol" in smtp code.
  3650.     Include <unistd.h> in sendmail.h -- move towards POSIX/ANSI.
  3651.     Additional hooks for RFC 1427 (ESMTP SIZE extension).  This
  3652.         includes requiring that enoughspace() know the system
  3653.         block size, which will undoubtedly break most ports.
  3654.     Trace flag 19 in use for srvrsmtp.c.
  3655.     Additional logging -- notably the sending mailer name.  This
  3656.         also changes the delivery logging to strict field=value
  3657.         syntax.
  3658.     Fix some problems with messages getting sent even to addresses
  3659.         that had been marked bad -- from Eric Wassenaar.
  3660.     More WIDE changes: accept host name inside [...] as non-MXed
  3661.         host.  This is intended ONLY for use inside firewalled
  3662.         environments, where the MX points at the gateway.
  3663.     Change .cf file conventions so that mapping for <> addresses
  3664.         don't have an @ in them (to avoid confusing the C mailer
  3665.         flag).  Pointed out by Neil Rickert.
  3666.     Config extensions for Sam Leffler's FlexFAX software.
  3667.  
  3668. 6.31/6.10    93/02/28
  3669.     Fix some more bugs in alias owner code -- there were some wierd
  3670.         cases where an error in a non-aliased name would override
  3671.         the return info in an aliased name with an owner.
  3672.     Changes from WIDE Project, forwarded to me by Motonori Nakamura:
  3673.         Log actual delivery host (after MX et al); from
  3674.             yasuhiro@dcl.co.jp.
  3675.         Log daemon startup.
  3676.         Deliver Postmaster copies without a body.
  3677.         Better logging of SMTP senders.
  3678.         Send all program email as daemon even when local.
  3679.     As requested in various forms from many people, accept -qIstring
  3680.         to limit queue runs to jobs with queue-id matching string.
  3681.         Similarly for -qRstring for recipients, -qSstring for
  3682.         senders.
  3683.     Initial hooks for ESMTP support (see RFC 1425).
  3684.     Fixed a syntax error in the UUCP mailer specification that caused
  3685.         core dumps on startup.
  3686.     Check for missing A= or P= arguments in mailer definitions.
  3687.  
  3688. 6.30/6.10    93/02/27
  3689.     Require FROZENCONFIG compilation flag to include frozen
  3690.         configuration code.  Frozen configuration is really
  3691.         not a very good idea any more, particularly in shared
  3692.         library environments.
  3693.     Do better checking of errno after opens of :include: and .forward
  3694.         files to defer delivery on network and other transient
  3695.         errors.  Suggestion from Craig Everhart.
  3696.     Fix minor botch in read timeout macro processing.
  3697.     Add FEATURE(nouucp) to config files for sites that know absolutely
  3698.         nothing about UUCP.
  3699.     Add built cf files to distribution tape and clarify how to build
  3700.         them if you don't have the Berkeley make.
  3701.     Some sizeof(long) portability changes for the Alpha, from Allan
  3702.         E Johannesen.
  3703.     Add "restrictmailq" privacy flag -- if set, only people in the same
  3704.         group as your queue directory can print the queue.  If you
  3705.         set this, be sure you also restrict access to log files....
  3706.     Fix another bug in owner-list stuff that can cause data files to
  3707.         be "lost".
  3708.     Fix a bug with queue runs that cause forwards to yourself to go
  3709.         into alias/forwarding loops.  I'm still iffy about this
  3710.         fix.
  3711.     Fix from Eric Wassenaar for suppression of return message code.
  3712.  
  3713. 6.29/6.9    93/02/24
  3714.     Fix yet another problem in alias owner code -- put the wrong return
  3715.         address on the enclosed return-to-sender letter.
  3716.  
  3717. 6.28/6.9    93/02/24
  3718.     Fix botch in alias owner code that caused it to not operate if the
  3719.         error was detected locally.
  3720.  
  3721. 6.27/6.9    93/02/24
  3722.     M_LOCAL => M_LOCALMAILER to avoid conflict with Ultrix include
  3723.         file <sys/mount.h>.
  3724.     Miscellaneous bug fixes from Eric Wassenaar:
  3725.         sendmail -bv -t logs the from line even though in verify
  3726.             mode only.
  3727.         sendmail -v can go into queue mode if shouldqueue returns
  3728.             TRUE.
  3729.     Add route-addr pruning per RFC 1123 section 5.3.3.  This can be
  3730.         disabled using the "R" option.
  3731.     Delete (always undocumented) -R flag (save original recipients);
  3732.         there are ways to syslog(3) these now.
  3733.     Clean up SMTP reply codes -- specify them as needed in the code,
  3734.         instead of in conf.c -- this was needed during the NCP to
  3735.         TCP transition, but seems silly now.  This also changes
  3736.         parameters to message and nmessage.
  3737.     Have mailstats read the .cf file to find the sendmail.st file and
  3738.         get text versions of mailer names.  An initial version of
  3739.         this code was provided by Tuominen Keijo (although the
  3740.         comments indicate the good bits were written by "E.V.").
  3741.     Add yet more System V compatibility hacks.
  3742.     Fix bug in VRFY code (assumes everything must be a local user).
  3743.     Allow specification of any of the hard-wired pathnames in the
  3744.         Makefile.
  3745.     Delete concept of "trusted users" -- this really didn't provide
  3746.         any security anyway, and caused some problems.
  3747.     Delete last vestige of support for the word "at" as an equivalent
  3748.         to the character "@".
  3749.     Propagate owner-foo alias information into the envelope sender.
  3750.         Based on code from John Gardiner Myers.  This is a major
  3751.         semantic change -- beware!
  3752.     Allow $@ on LHS to indicate "match zero" -- this is used to match
  3753.         the null expression.
  3754.  
  3755. 6.26/6.8    93/02/21
  3756.     Don't "lose" queue runs.  Very important fix from (who else?)
  3757.         Eric Wassenaar.
  3758.     Completely reset state on RSET command -- from Eric Wassenaar.
  3759.     Send error messages and return receipts using an envelope sender
  3760.         of <> regardless of the setting of $n.  Rewriting rules
  3761.         can undo this if they feel the necessity, as might be
  3762.         needed for networks that don't understand the syntax.
  3763.         This is permitted by RFC 821 section 3.6 and required by
  3764.         RFC 1123 section 5.3.3.  THIS REQUIRES VERSION 4 CONFIG
  3765.         FILES because the rulesets must be able to parse <>
  3766.         properly.
  3767.     Don't ever send error messages to "<>" -- they will get sent to
  3768.         the local postmaster or dumped in /usr/tmp/dead.letter
  3769.         instead.  Per RFC 1123 section 5.3.3.
  3770.     Explicitly check for email to yourself as a dotted quad.  You
  3771.         have to call $[ [ ... ] $] to get this.
  3772.     Up the message timeout to five days per RFC 1123 section 5.3.1.1.
  3773.     Make all read timeouts individually configurable, as strongly
  3774.         recommended by RFC 1123 section 5.3.2.
  3775.     Use f_bavail (blocks available to regular users) instead of f_bfree
  3776.         (blocks available to superuser) in free block checks.
  3777.     Change $d macro to be the current time, not the origination time,
  3778.         since this is consistent with how it is used now.
  3779.     Generalization of enoughspace from Eric Wassenaar covering
  3780.         SGI, Apollo, HPUX, Ultrix, and SunOS.
  3781.     Ignore process group signals -- some front ends can do this if
  3782.         you kill a window too quickly.  From Eric Wassenaar.
  3783.     Change umask to 022.
  3784.  
  3785. 6.25/6.8    93/02/20
  3786.     Close all cached connections before calling mailers and after
  3787.         forking for delivery (caused double closes which resulted
  3788.         in false errors).
  3789.     Add FEATURE(redirect) in config files -- this allows you to alias
  3790.         old addresses to a pointer to the new address that will
  3791.         give a 551 error message, but not deliver the mail.
  3792.     Some code changes to make the 551 errors look pretty.
  3793.     Names of M4 program paths in config files have changed -- they
  3794.         are all XXX_MAILER_PATH now, to match XXX_MAILER_FLAGS.
  3795.     Fix a bug in the QSELFREF code having to do with empty .forward
  3796.         files, reported by Eric Wassenaar.
  3797.     Add option "p" (privacy flags); this allows you to tune how
  3798.         picky the SMTP server will be.  This also adds the
  3799.         confPRIVACY_FLAGS M4 macro in the config files.
  3800.     Add option "b" (minimum blocks free).  If there are fewer than
  3801.         this number of blocks free on the filesystem containing
  3802.         the queue directory, the SMTP MAIL command will return
  3803.         a 452 response and ask you to try again later.  This
  3804.         also adds the confMIN_FREE_BLOCKS M4 macro in the config
  3805.         files.
  3806.     Made VRFY just verify (doesn't expand aliases and .forward files);
  3807.         EXPN does full expansion.  RCPT in queue-only mode also
  3808.         doesn't chase aliases and .forward.
  3809.  
  3810. 6.24/6.7    93/02/19
  3811.     Increase the number of domain search entries in domain.c to allow
  3812.         for the extra "" entry indicating the root domain.
  3813.         Reported by Motonori Nakamura of Kyoto U.
  3814.     Add a "SMART_HOST" in the configs for UUCP-connected sites that
  3815.         want to forward all mail with extra "@"s to that site.
  3816.         Also allows SMART_HOST, LOCAL_RELAY, and MAIL_HUB to
  3817.         be specified as ``mailer:hostname'' to use an alternate
  3818.         mailer.
  3819.     Clarified and updated some wording in the Operations Guide.
  3820.     Add the "c" mailer flag -- this suppresses all comment parts of
  3821.         addresses (requested by John Curran of NEARnet).
  3822.     Have -v print prompts in -bt mode even if stdin is not a terminal
  3823.         (default behaviour is to be silent if not reading from
  3824.         a terminal).  Suggested by Bryan Costales, ICSI.
  3825.     Move the metacharacters from C0 space (\001-\037) into C1 space
  3826.         (\201-\237).  This also fixes a bunch of potential bugs
  3827.         with G1 characters (\240-\276) in headers relating to
  3828.         negative numbers passed to isspace() et al.
  3829.     Add YP_LAST_MODIFIED and YP_MASTER_NAME to DBM version of alias
  3830.         database if YPCOMPAT is #defined.  Enhancement from
  3831.         Takahiro Kanbe of Fuji Xerox Information Systems Co., Ltd.
  3832.     Add "list" Precedence (-30); this can be used with old sendmails
  3833.         which will map to precedence 0 (which will return error
  3834.         messages).  Suggested by Stephen R. van den Berg.
  3835.     Many bug fixes from Eric Wassenaar of the National Institute for
  3836.             Nuclear and High-Energy Physics, Amsterdam:
  3837.         Clear timeouts properly on open failures in include().
  3838.         Don't dereference through NULL if no home directory found.
  3839.         Re-establish SIGCHLD signal on System 5 in reapchild().
  3840.         Avoid NULL pointer reference on -pFOO flag.
  3841.         Properly handle backslash escapes in comments.
  3842.         Correctly check reply status on SMTP NOOP command.
  3843.         Properly save SMTP error message if peer gives
  3844.             "Service Shutting Down" message.
  3845.         Avoid writing to the transcript if it couldn't be opened.
  3846.         Signal errors in SMTP children to parent properly.
  3847.     Handle self references in a list more globally (include a
  3848.         QSELFREF bit in the address flags).  This enhancement
  3849.         was suggested by Eric Wassenaar.
  3850.     Use initgroups() in hpux, even though it's System-V based.  The
  3851.         HASINITGROUPS compile flag can set this on other systems.
  3852.         This HPUX behaviour was pointed out by Eric Wassenaar.
  3853.  
  3854. 6.23/6.6    93/02/16
  3855.     Clean up handling of LogLevel to make it easier to figure out
  3856.         what's on what level.
  3857.     Change log levels to have some consistency:
  3858.         1    serious system failures, security problems
  3859.         2    lost communications, protocol failures
  3860.         3    other serious failures
  3861.         4    minor errors
  3862.         5    message collection
  3863.         6    vrfy logging, creation of return-to-sender
  3864.         7    delivery failures
  3865.         8    delivery successes
  3866.         9    delivery tempfails (queue ups)
  3867.         10   database expansion
  3868.         >64  debugging
  3869.     Allow IDA-style separated processing on S= and R= in Mailer
  3870.         definition lines.  Note that rulesets 1 and 2 are
  3871.         still used for both addresses as before.  Bruce Lilly
  3872.         gave a convincing argument that RFC976 insists on
  3873.         this behaviour.
  3874.     Added some time zones to arpatounix -- they may not be in the
  3875.         standards, but they are in use.  However, I may delete
  3876.         arpatounix entirely -- there appears to be no reason
  3877.         for it to exist.
  3878.     Change to UUCP mailer (in cf directory) to try to do a saner job.
  3879.         I'm still not certain about this mailer in general.
  3880.  
  3881. 6.22/6.5    93/02/15
  3882.     Fix bug that prevents saving letters in ~/dead.letter.
  3883.     Don't add angle brackets in VRFY command if angle brackets already
  3884.         exist in the address.
  3885.     Fix bogus error message in udbexpand.
  3886.     Null terminate host buffers in buildaddr (broken in 6.21) --
  3887.         IMPORTANT FIX!!
  3888.  
  3889. 6.21/6.5    93/02/15
  3890.     Fix another incorrect error message in alias.c, found by Azuma
  3891.         Okamoto.
  3892.     Fix a couple of problems in the more-configurable config files,
  3893.         found by Tom Ivar Helbekkmo.
  3894.     Fix problem with quoted :include: entries.
  3895.     Don't duplicate the filename on verbose printing of .forward and
  3896.         :include: contents.
  3897.     Extend size of prescan buffer (to allow bigger addresses).  Also,
  3898.         detect some buffer overflows.
  3899.     Log user SMTP protocol errors (log level 4).
  3900.  
  3901. 6.20/6.4    93/02/14
  3902.     Fix another problem in the MCI state machine caused when there
  3903.         were errors generated from the other end to commands
  3904.         other than RCPT.
  3905.  
  3906. 6.19/6.4    93/02/14
  3907.     Include load average support for DEC Alpha running OSF/1.
  3908.     Fix multiple-response problem with errors in MAIL From: line.
  3909.     Fix SMTP reply codes for invalid address syntaxes (give 501;
  3910.         never give multiple error messages for a single message).
  3911.     Fix problem where a cached connection timeout rejects all
  3912.         later connects to that host.
  3913.     Fix incorrect error message if alias.c is compiled with DBM only.
  3914.     Additional changes to fix nested conditionals (from Bruce Lilly).
  3915.     Recover more gracefully from operating system failures, particularly
  3916.         NULL returns from openmailer (from Noritoshi Demizu,
  3917.         OMRON Corporation).
  3918.     Log forward, alias, and userdb expand operations on log level 10;
  3919.         concept suggested by P{r (Pell) Emanuelsson.
  3920.     Changes for HPUX 8.07 compatibility.
  3921.  
  3922. 6.18/6.4    93/02/12
  3923.     Allow any config option to be set using an M4 define.
  3924.     Change UNAME compile flag to HASUNAME for IDA compatibility
  3925.         (besides, it's a better name).
  3926.     Note in README that on SunOS it must be linked -Bstatic.
  3927.     Fairly major change in domain.c to handle wildcard MX records
  3928.         more rationally.  NOTE: the "w" option (no wildcard MX
  3929.         records match local domain) has been eliminated.
  3930.     Fix some unset variable references pointed out by Bruce Lilly.
  3931.     Fix host name in process titles when using cached connection.
  3932.  
  3933. 6.17/6.3    93/01/28
  3934.     Fix System 5 compatibility changes to be compatible with the rest
  3935.         of the world.
  3936.  
  3937. 6.16/6.3    93/01/28
  3938.     Experimental fix for problem handling errors in the SMTP
  3939.         protocol in conjunction with connection caching.
  3940.     System 5 compatibility changes.
  3941.  
  3942. 6.15/6.3    93/01/26
  3943.     Fix a bug that causes local mail delivered using -odq to be
  3944.         eliminated as a duplicate (because it matched the
  3945.         ctladdr, now passed in as a C line).  These changes
  3946.         are pretty tricky......
  3947.  
  3948. 6.14/6.3    93/01/25
  3949.     Add debugging for some MCI errors.
  3950.  
  3951. 6.13/6.3    93/01/22
  3952.     Fix -e compatibility flag to take a value.
  3953.     Fix a couple of minor compilation warnings on Sun cc.
  3954.     Improve error messages in a few cases to be more self-explanatory.
  3955.  
  3956. 6.12/6.3    93/01/21
  3957.     Fix yet-another problem with environment handling, pointed out
  3958.         by Yoshitaka Tokugawa and Tom Ivar Helbekkmo.
  3959.     Some heuristics to try to limit resource exhaustion problems
  3960.         if a downstream host has been down for a long time.
  3961.     Fix problem with incorrect host name being logged in "Connection
  3962.         timed out" messages (from Tom Ivar Helbekkmo).
  3963.     Fix some ANSI C problems (from Takahiro Kanbe).
  3964.     Properly log message sender on returned mail during queue run.
  3965.     Count number of recipients properly.
  3966.     Fix a problem in yp map code.
  3967.     Diagnose "message timed out" (from Motonori Nakamura).
  3968.  
  3969. 6.11/6.3    93/01/20
  3970.     Fix problem with address delimitor inside quotes.
  3971.     Define $k and $=k to be the UUCP name (from the uname call)
  3972.         based on code from Bruce Lilly.
  3973.  
  3974. 6.10/6.2    93/01/18
  3975.     Implement arpatounix (largely code from Bruce Lilly).
  3976.     Log more info (suggested by John Myers).
  3977.     Allow nested $?...$|...$. (inspired by code from Bruce Lilly of
  3978.         Sony US).
  3979.     POSIX compatibility (noted by Keith Bostic).
  3980.     Handle SMTP MAIL command errors properly (urged by several people,
  3981.         notably John Myers of CMU).
  3982.     Do early diagnosis of .cf errors (notably referencing a RHS
  3983.         substitution that isn't on the LHS).
  3984.     Adjust checkpointing to better handle batched recipients, suggested
  3985.         by John Myers.
  3986.     Fix miscellaneous bugs.
  3987.     (config files:)  Implement MAIL_HUB for all local mail (to handle
  3988.         NFS-mounted directories) as urged by Tom Ivar Helbekkmo
  3989.         of the Norwegian School of Economics.
  3990.  
  3991. 6.9/6.1     93/01/13
  3992.     Environment handling simplification/bug fix -- child processes
  3993.         get a minimal, fixed environment.  This avoids different
  3994.         behaviour in queue runs.
  3995.     Handle commas inside comments properly.
  3996.     Properly limit large messages submitted in -obq mode.
  3997.  
  3998. 6.8/6.1        93/01/10
  3999.     Check mtime of thaw file against .cf and sendmail binary, based on
  4000.         code from John Myers.
  4001.  
  4002. 6.7/6.1        93/01/10
  4003.     MX piggybacking, based on code from John Myers@CMU.
  4004.     Allow checkcompat to return -1 to mean tempfail.
  4005.     Bug fix in m_mno computation.
  4006.  
  4007. 6.6/6.1        93/01/09
  4008.     Tuning of queueing functions as recommended by John Gardiner Myers.
  4009.     Return mail headers (no body) on messages with negative precedence.
  4010.     Minor other bug fixes.
  4011.  
  4012. 6.5/6.1        93/01/03
  4013.     Fix botch causing queued headers to have ?XX? prefixes.
  4014.  
  4015. 6.4/6.1        93/01/02
  4016.     Changes to recognize special mailer types (e.g., file) early.
  4017.  
  4018. 6.3/6.1        93/01/01
  4019.     Pass timeouts to sfgets.
  4020.     Check for control characters in addresses.
  4021.     Fixed deferred error reporting.
  4022.     Report duplicate aliases.
  4023.     Handle mixed case recursive aliases.
  4024.     Misc bug fixes.
  4025.  
  4026. 6.2/6.1        92/12/30
  4027.     Put return-receipt-to on a conf.c flag (but don't set it).
  4028.     Fix minor syslog problem.
  4029.